Merge remote-tracking branch 'upstream/master' into 13.0
This commit is contained in:
@@ -23,6 +23,7 @@
|
||||
#include "story_base.h"
|
||||
#include "command_func.h"
|
||||
#include "string_func.h"
|
||||
#include "goal_cmd.h"
|
||||
|
||||
#include "widgets/goal_widget.h"
|
||||
|
||||
@@ -384,17 +385,17 @@ struct GoalQuestionWindow : public Window {
|
||||
{
|
||||
switch (widget) {
|
||||
case WID_GQ_BUTTON_1:
|
||||
DoCommandP(0, this->window_number, this->button[0], CMD_GOAL_QUESTION_ANSWER);
|
||||
Command<CMD_GOAL_QUESTION_ANSWER>::Post(this->window_number, this->button[0]);
|
||||
this->Close();
|
||||
break;
|
||||
|
||||
case WID_GQ_BUTTON_2:
|
||||
DoCommandP(0, this->window_number, this->button[1], CMD_GOAL_QUESTION_ANSWER);
|
||||
Command<CMD_GOAL_QUESTION_ANSWER>::Post(this->window_number, this->button[1]);
|
||||
this->Close();
|
||||
break;
|
||||
|
||||
case WID_GQ_BUTTON_3:
|
||||
DoCommandP(0, this->window_number, this->button[2], CMD_GOAL_QUESTION_ANSWER);
|
||||
Command<CMD_GOAL_QUESTION_ANSWER>::Post(this->window_number, this->button[2]);
|
||||
this->Close();
|
||||
break;
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user