(svn r12389) -Codechange: remove unneeded code from the Cheat window handling and bring it in line with the coding guidelines.

This commit is contained in:
rubidium
2008-03-22 10:50:50 +00:00
parent 7d2a1e5a69
commit fedb33d697
2 changed files with 80 additions and 113 deletions

View File

@@ -349,7 +349,7 @@ CommandCost CmdMoneyCheat(TileIndex tile, uint32 flags, uint32 p1, uint32 p2)
#ifndef _DEBUG
if (_networking) return CMD_ERROR;
#endif
return CommandCost(EXPENSES_OTHER, -(Money)p1);
return CommandCost(EXPENSES_OTHER, -(int32)p1);
}
/** Transfer funds (money) from one player to another.