road_cmd.c
changeset 817 238bbdaa228b
parent 679 04ca2cd69420
child 889 64d2f7d5f02b
--- a/road_cmd.c	Tue Dec 28 09:55:55 2004 +0000
+++ b/road_cmd.c	Tue Dec 28 11:51:31 2004 +0000
@@ -727,7 +727,7 @@
 static void DrawTile_Road(TileInfo *ti)
 {
 	uint32 image;
-	byte m2;
+	uint16 m2;
 	const byte *s;
 
 	if ( (ti->map5 & 0xF0) == 0) { // if it is a road the upper 4 bits are 0
@@ -1006,7 +1006,7 @@
 	} else {
 		// Handle road work
 
-		byte b = _map2[tile];
+		uint16 b = _map2[tile];
 		if (b < 0x80) {
 			_map2[tile] = b + 8;
 			return;