diff options
author | rubidium <rubidium@openttd.org> | 2008-03-22 10:50:50 +0000 |
---|---|---|
committer | rubidium <rubidium@openttd.org> | 2008-03-22 10:50:50 +0000 |
commit | 5d747802f28d6fd6ad2527aa04f418ce09c00f6c (patch) | |
tree | 2e6414596b3f690ce7c3462949431f666bc1a447 /src/misc_cmd.cpp | |
parent | 9dffdaca0da111f5bd524b9d493c1c778207700b (diff) | |
download | openttd-5d747802f28d6fd6ad2527aa04f418ce09c00f6c.tar.xz |
(svn r12389) -Codechange: remove unneeded code from the Cheat window handling and bring it in line with the coding guidelines.
Diffstat (limited to 'src/misc_cmd.cpp')
-rw-r--r-- | src/misc_cmd.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/misc_cmd.cpp b/src/misc_cmd.cpp index 5781f7d34..663ac921a 100644 --- a/src/misc_cmd.cpp +++ b/src/misc_cmd.cpp @@ -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. |