summaryrefslogtreecommitdiff
path: root/viewport.c
diff options
context:
space:
mode:
Diffstat (limited to 'viewport.c')
-rw-r--r--viewport.c2
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;
}