diff options
author | Michael Lutz <michi@icosahedron.de> | 2021-11-23 01:05:58 +0100 |
---|---|---|
committer | Michael Lutz <michi@icosahedron.de> | 2021-12-16 22:28:32 +0100 |
commit | 13528bfcd0f11d738ec23409e26052e70dd233f6 (patch) | |
tree | 7f549fb59e365e6bc9b4a9f05b692ddbd94be38e /src/ai/ai_gui.cpp | |
parent | 58cff7b081ce9ea4b5314cf8324ca60607389d15 (diff) | |
download | openttd-13528bfcd0f11d738ec23409e26052e70dd233f6.tar.xz |
Codechange: Un-bitstuff all remaining commands.
Diffstat (limited to 'src/ai/ai_gui.cpp')
-rw-r--r-- | src/ai/ai_gui.cpp | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/ai/ai_gui.cpp b/src/ai/ai_gui.cpp index 5e0c720f0..c4a866762 100644 --- a/src/ai/ai_gui.cpp +++ b/src/ai/ai_gui.cpp @@ -1332,7 +1332,7 @@ struct AIDebugWindow : public Window { } if (all_unpaused) { /* All scripts have been unpaused => unpause the game. */ - Command<CMD_PAUSE>::Post(0, PM_PAUSED_NORMAL, 0, {}); + Command<CMD_PAUSE>::Post(PM_PAUSED_NORMAL, false); } } } @@ -1381,7 +1381,7 @@ struct AIDebugWindow : public Window { /* Pause the game. */ if ((_pause_mode & PM_PAUSED_NORMAL) == PM_UNPAUSED) { - Command<CMD_PAUSE>::Post(0, PM_PAUSED_NORMAL, 1, {}); + Command<CMD_PAUSE>::Post(PM_PAUSED_NORMAL, true); } /* Highlight row that matched */ |