summaryrefslogtreecommitdiff
path: root/src/window.h
diff options
context:
space:
mode:
authorrubidium <rubidium@openttd.org>2007-04-26 07:41:24 +0000
committerrubidium <rubidium@openttd.org>2007-04-26 07:41:24 +0000
commitb469c443e91c8ef65ddce61944338eba4287f337 (patch)
tree99cba1dcaf20249c870289b0f68c42bfd10836e5 /src/window.h
parent4d0483b650c7625c6ea579eb880cbb9bede06d54 (diff)
downloadopenttd-b469c443e91c8ef65ddce61944338eba4287f337.tar.xz
(svn r9719) -Fix: in-game private messages did not work for clients with a Client ID > 255.
Diffstat (limited to 'src/window.h')
-rw-r--r--src/window.h5
1 files changed, 5 insertions, 0 deletions
diff --git a/src/window.h b/src/window.h
index 597c6e363..1f74df9b0 100644
--- a/src/window.h
+++ b/src/window.h
@@ -280,6 +280,11 @@ struct querystr_d {
};
assert_compile(WINDOW_CUSTOM_SIZE >= sizeof(querystr_d));
+struct chatquerystr_d : public querystr_d {
+ int dest;
+};
+assert_compile(WINDOW_CUSTOM_SIZE >= sizeof(chatquerystr_d));
+
struct menu_d {
byte item_count; ///< follow_vehicle
byte sel_index; ///< scrollpos_x