Mercurial > hg > openttd
changeset 5123:9cddbe5b6739 draft
(svn r7203) -Cleanup: Donnu what Miham was smoking there, but removed it (assert_compile + 3)
author | Darkvater <Darkvater@openttd.org> |
---|---|
date | Sat, 18 Nov 2006 13:55:44 +0000 |
parents | b79d9ee0590d |
children | fe6d669699bf |
files | window.h |
diffstat | 1 files changed, 2 insertions(+), 2 deletions(-) [+] |
line wrap: on
line diff
--- a/window.h +++ b/window.h @@ -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;