summaryrefslogtreecommitdiff
path: root/road_cmd.c
diff options
context:
space:
mode:
Diffstat (limited to 'road_cmd.c')
-rw-r--r--road_cmd.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/road_cmd.c b/road_cmd.c
index 07874499f..0676293ab 100644
--- a/road_cmd.c
+++ b/road_cmd.c
@@ -727,7 +727,7 @@ const byte _road_sloped_sprites[14] = {
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 @@ static void TileLoop_Road(uint tile)
} else {
// Handle road work
- byte b = _map2[tile];
+ uint16 b = _map2[tile];
if (b < 0x80) {
_map2[tile] = b + 8;
return;