(svn r12335) -Codechange: Don't stuff signed values into a unsigned variable when the variable can just be unsigned...

This commit is contained in:
peter1138
2008-03-04 12:14:34 +00:00
parent e1cc80b01c
commit 3907ac518b
4 changed files with 6 additions and 6 deletions

View File

@@ -314,11 +314,11 @@ CommandCost CmdPause(TileIndex tile, uint32 flags, uint32 p1, uint32 p2)
_pause_game += (p1 == 0) ? -1 : 1;
switch (_pause_game) {
case (byte)-4:
case (byte)-1:
case -4:
case -1:
_pause_game = 0;
break;
case (byte)-3:
case -3:
ShowQuery(
STR_NEWGRF_UNPAUSE_WARNING_TITLE,
STR_NEWGRF_UNPAUSE_WARNING,