(svn r2468) -Codechange: Got rid of DEREF_PLAYER and replaced it by GetPlayer

This commit is contained in:
celestar
2005-06-21 16:28:17 +00:00
parent e2df1d71d5
commit aa7334a3ec
26 changed files with 73 additions and 74 deletions

View File

@@ -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;