summaryrefslogtreecommitdiff
path: root/players.c
diff options
context:
space:
mode:
Diffstat (limited to 'players.c')
-rw-r--r--players.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/players.c b/players.c
index c63749b88..a33307cc2 100644
--- a/players.c
+++ b/players.c
@@ -436,7 +436,7 @@ restart:;
if (pp->is_active && p != pp) {
SetDParam(0, pp->president_name_2);
GetString(buffer2, pp->president_name_1);
- if (str_eq(buffer2, buffer))
+ if (strcmp(buffer2, buffer) == 0)
goto restart;
}
}