road_cmd.c
changeset 817 4f9377b7fd2b
parent 679 e959706a3e4d
child 889 7f8630bfea41
--- 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;