summaryrefslogtreecommitdiff
path: root/src/landscape.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'src/landscape.cpp')
-rw-r--r--src/landscape.cpp8
1 files changed, 4 insertions, 4 deletions
diff --git a/src/landscape.cpp b/src/landscape.cpp
index 30a01e5dd..2e4e10c47 100644
--- a/src/landscape.cpp
+++ b/src/landscape.cpp
@@ -473,9 +473,9 @@ TrackStatus GetTileTrackStatus(TileIndex tile, TransportType mode, uint sub_mode
return _tile_type_procs[GetTileType(tile)]->get_tile_track_status_proc(tile, mode, sub_mode, side);
}
-void ChangeTileOwner(TileIndex tile, PlayerID old_player, PlayerID new_player)
+void ChangeTileOwner(TileIndex tile, Owner old_owner, Owner new_owner)
{
- _tile_type_procs[GetTileType(tile)]->change_tile_owner_proc(tile, old_player, new_player);
+ _tile_type_procs[GetTileType(tile)]->change_tile_owner_proc(tile, old_owner, new_owner);
}
void GetAcceptedCargo(TileIndex tile, AcceptedCargo ac)
@@ -895,7 +895,7 @@ void OnTick_Trees();
void OnTick_Station();
void OnTick_Industry();
-void OnTick_Players();
+void OnTick_Companies();
void OnTick_Train();
void CallLandscapeTick()
@@ -905,7 +905,7 @@ void CallLandscapeTick()
OnTick_Station();
OnTick_Industry();
- OnTick_Players();
+ OnTick_Companies();
OnTick_Train();
}