From 5d747802f28d6fd6ad2527aa04f418ce09c00f6c Mon Sep 17 00:00:00 2001 From: rubidium Date: Sat, 22 Mar 2008 10:50:50 +0000 Subject: (svn r12389) -Codechange: remove unneeded code from the Cheat window handling and bring it in line with the coding guidelines. --- src/misc_cmd.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'src/misc_cmd.cpp') 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. -- cgit v1.2.3-54-g00ecf