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
commit98e59a5adde7740f8f1d4c2651eac6b708c3692c (patch)
tree99cba1dcaf20249c870289b0f68c42bfd10836e5 /src/window.h
parent0eb9621096bc93793d6cc9404696a11699358aec (diff)
downloadopenttd-98e59a5adde7740f8f1d4c2651eac6b708c3692c.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