diff options
author | hackykid <hackykid@openttd.org> | 2005-07-08 19:02:26 +0000 |
---|---|---|
committer | hackykid <hackykid@openttd.org> | 2005-07-08 19:02:26 +0000 |
commit | fbe617baba3969142140252810c209f0f1fb91c0 (patch) | |
tree | cc77b3c13fd1f0dff9014fd97d291e77ef2ba753 /viewport.c | |
parent | 15a783ef82dcc68a6801813eec28ac7c035ebf50 (diff) | |
download | openttd-fbe617baba3969142140252810c209f0f1fb91c0.tar.xz |
(svn r2532) - Fix: Don't waste space using an int where a byte would suffice. (ludde)
Diffstat (limited to 'viewport.c')
-rw-r--r-- | viewport.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/viewport.c b/viewport.c index 85dba5296..5624e7670 100644 --- a/viewport.c +++ b/viewport.c @@ -1875,7 +1875,7 @@ void SetTileSelectBigSize(int ox, int oy, int sx, int sy) { /* returns the best autorail highlight type from map coordinates */ static byte GetAutorailHT(int x, int y) { - int i; + byte i; i = AutorailPiece[x&0xF][y&0xF]; return HT_RAIL | i; } |