(svn r1330) Increase size of some vars from int16 to int32 to guard against future overflows

This commit is contained in:
tron
2005-01-03 08:50:44 +00:00
parent 608cdbe3f6
commit 29e71638ce
7 changed files with 43 additions and 22 deletions

6
ttd.h
View File

@@ -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;