summaryrefslogtreecommitdiff
path: root/unmovable_cmd.c
diff options
context:
space:
mode:
Diffstat (limited to 'unmovable_cmd.c')
-rw-r--r--unmovable_cmd.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/unmovable_cmd.c b/unmovable_cmd.c
index 5d69dbad1..1df55d764 100644
--- a/unmovable_cmd.c
+++ b/unmovable_cmd.c
@@ -193,7 +193,7 @@ static uint GetSlopeZ_Unmovable(TileInfo *ti)
return GetPartialZ(ti->x&0xF, ti->y&0xF, ti->tileh) + ti->z;
}
-static uint GetSlopeTileh_Unmovable(TileInfo *ti)
+static uint GetSlopeTileh_Unmovable(const TileInfo *ti)
{
return 0;
}
@@ -393,7 +393,7 @@ restart:
} while (--i);
}
-static void ChangeTileOwner_Unmovable(TileIndex tile, byte old_player, byte new_player)
+static void ChangeTileOwner_Unmovable(TileIndex tile, PlayerID old_player, PlayerID new_player)
{
if (!IsTileOwner(tile, old_player)) return;