summaryrefslogtreecommitdiff
path: root/src/misc_cmd.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'src/misc_cmd.cpp')
-rw-r--r--src/misc_cmd.cpp6
1 files changed, 3 insertions, 3 deletions
diff --git a/src/misc_cmd.cpp b/src/misc_cmd.cpp
index 87b945296..5781f7d34 100644
--- a/src/misc_cmd.cpp
+++ b/src/misc_cmd.cpp
@@ -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,