diff options
Diffstat (limited to 'console_cmds.c')
-rw-r--r-- | console_cmds.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/console_cmds.c b/console_cmds.c index 132d54dcd..91d32e4b2 100644 --- a/console_cmds.c +++ b/console_cmds.c @@ -544,7 +544,7 @@ DEF_CONSOLE_CMD(ConResetCompany) /* Check if company does exist */ index--; - p = DEREF_PLAYER(index); + p = GetPlayer(index); if (!p->is_active) { IConsoleError("Company does not exist."); return true; |