From 29e71638ce1dfa3d86a3b0ddf5b109e4fb0320a9 Mon Sep 17 00:00:00 2001 From: tron Date: Mon, 3 Jan 2005 08:50:44 +0000 Subject: (svn r1330) Increase size of some vars from int16 to int32 to guard against future overflows --- ttd.h | 6 ++++-- 1 file changed, 4 insertions(+), 2 deletions(-) (limited to 'ttd.h') diff --git a/ttd.h b/ttd.h index 45880270f..ee8967cfd 100644 --- a/ttd.h +++ b/ttd.h @@ -273,14 +273,16 @@ typedef struct TileDesc { } TileDesc; typedef struct { - int16 left, top; + int32 left; + int32 top; byte width_1, width_2; } ViewportSign; typedef struct SignStruct { StringID str; ViewportSign sign; - int16 x,y; + int32 x; + int32 y; byte z; } SignStruct; -- cgit v1.2.3-54-g00ecf