(svn r7203) -Cleanup: Donnu what Miham was smoking there, but removed it (assert_compile + 3)
authorDarkvater
Sat, 18 Nov 2006 13:55:44 +0000
changeset 5123 291651cb3a18
parent 5122 3aa375cb5e8e
child 5124 2ca62776430e
(svn r7203) -Cleanup: Donnu what Miham was smoking there, but removed it (assert_compile + 3)
window.h
--- a/window.h	Sat Nov 18 13:54:33 2006 +0000
+++ b/window.h	Sat Nov 18 13:55:44 2006 +0000
@@ -472,11 +472,11 @@
 	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;