diff options
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 */ |