summaryrefslogtreecommitdiff
path: root/src/script/api/script_goal.hpp
diff options
context:
space:
mode:
authordP <dp@dpointer.org>2019-05-03 02:50:24 +0300
committerCharles Pigott <charlespigott@googlemail.com>2019-07-14 13:32:08 +0100
commit36e4bd4023fd8fc2f73a7618708a723d11095786 (patch)
tree384737a7a37572e382f9179675ecfb3a510d8e93 /src/script/api/script_goal.hpp
parenta52bbb72a8a2cbcbefb0ff91b559f33c34094239 (diff)
downloadopenttd-36e4bd4023fd8fc2f73a7618708a723d11095786.tar.xz
Fix: Make GSGoal.QuestionClient work correctly at least for clients with ID < 2**16
Diffstat (limited to 'src/script/api/script_goal.hpp')
-rw-r--r--src/script/api/script_goal.hpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/script/api/script_goal.hpp b/src/script/api/script_goal.hpp
index b8c0873a2..30f7df125 100644
--- a/src/script/api/script_goal.hpp
+++ b/src/script/api/script_goal.hpp
@@ -211,7 +211,7 @@ protected:
/**
* Does common checks and asks the question.
*/
- static bool DoQuestion(uint16 uniqueid, uint8 target, bool is_client, Text *question, QuestionType type, int buttons);
+ static bool DoQuestion(uint16 uniqueid, uint32 target, bool is_client, Text *question, QuestionType type, uint32 buttons);
};
#endif /* SCRIPT_GOAL_HPP */