summaryrefslogtreecommitdiff
path: root/src/goal_gui.cpp
diff options
context:
space:
mode:
authorMichael Lutz <michi@icosahedron.de>2021-11-20 22:30:56 +0100
committerMichael Lutz <michi@icosahedron.de>2021-12-16 22:28:32 +0100
commite6e69d528921ab731c4c38ee708ff31b7055fd27 (patch)
tree25e19470a3b2179c7c9c9b76cdc4dc7e2906dbf4 /src/goal_gui.cpp
parent1a42a8a5d50e917a3b7158feadc70205cf912cba (diff)
downloadopenttd-e6e69d528921ab731c4c38ee708ff31b7055fd27.tar.xz
Codechange: Un-bitstuff goal and story page commands.
Diffstat (limited to 'src/goal_gui.cpp')
-rw-r--r--src/goal_gui.cpp6
1 files changed, 3 insertions, 3 deletions
diff --git a/src/goal_gui.cpp b/src/goal_gui.cpp
index ef63197d5..639901ee5 100644
--- a/src/goal_gui.cpp
+++ b/src/goal_gui.cpp
@@ -383,17 +383,17 @@ struct GoalQuestionWindow : public Window {
{
switch (widget) {
case WID_GQ_BUTTON_1:
- Command<CMD_GOAL_QUESTION_ANSWER>::Post(0, this->window_number, this->button[0], {});
+ Command<CMD_GOAL_QUESTION_ANSWER>::Post(this->window_number, this->button[0]);
this->Close();
break;
case WID_GQ_BUTTON_2:
- Command<CMD_GOAL_QUESTION_ANSWER>::Post(0, this->window_number, this->button[1], {});
+ Command<CMD_GOAL_QUESTION_ANSWER>::Post(this->window_number, this->button[1]);
this->Close();
break;
case WID_GQ_BUTTON_3:
- Command<CMD_GOAL_QUESTION_ANSWER>::Post(0, this->window_number, this->button[2], {});
+ Command<CMD_GOAL_QUESTION_ANSWER>::Post(this->window_number, this->button[2]);
this->Close();
break;
}