summaryrefslogtreecommitdiff
path: root/window.h
diff options
context:
space:
mode:
authorDarkvater <darkvater@openttd.org>2006-11-18 13:55:44 +0000
committerDarkvater <darkvater@openttd.org>2006-11-18 13:55:44 +0000
commitaa97b61a27cecfb6e06526fa74d95629cc7259a5 (patch)
treed1b1aaf9eecddcfd87c4d9ef686f86dc9cf8aa67 /window.h
parente3f905e653e1e03ee0463f2c7b1c725dcea7bff3 (diff)
downloadopenttd-aa97b61a27cecfb6e06526fa74d95629cc7259a5.tar.xz
(svn r7203) -Cleanup: Donnu what Miham was smoking there, but removed it (assert_compile + 3)
Diffstat (limited to 'window.h')
-rw-r--r--window.h4
1 files changed, 2 insertions, 2 deletions
diff --git a/window.h b/window.h
index 9c9f29c74..5b2738e5a 100644
--- a/window.h
+++ b/window.h
@@ -472,11 +472,11 @@ typedef struct {
int32 scrollpos_x;
int32 scrollpos_y;
} vp_d;
-assert_compile(WINDOW_CUSTOM_SIZE >= sizeof(vp_d) + 3 * sizeof(byte)); // + 3 * byte is a hack from Miham
+assert_compile(WINDOW_CUSTOM_SIZE >= sizeof(vp_d));
// vp2_d is the same as vp_d, except for the data_# values..
typedef struct {
- uint16 follow_vehicle;
+ VehicleID follow_vehicle;
int32 scrollpos_x;
int32 scrollpos_y;
byte data_1;