summaryrefslogtreecommitdiff
path: root/player.h
diff options
context:
space:
mode:
authorDarkvater <Darkvater@openttd.org>2006-10-14 22:22:48 +0000
committerDarkvater <Darkvater@openttd.org>2006-10-14 22:22:48 +0000
commit2380bb56cd4a25eef126153bb6b5ccde8222fc5c (patch)
tree22ba5ac16dd749e7e43b599fadca173a359055c4 /player.h
parenta85d679f545ea7fec03db426ec033e5e83258a91 (diff)
downloadopenttd-2380bb56cd4a25eef126153bb6b5ccde8222fc5c.tar.xz
(svn r6775) -Codechange: Use some more proper types, especially Owner and PlayerID as
these are used intermixed often.
Diffstat (limited to 'player.h')
-rw-r--r--player.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/player.h b/player.h
index 41bf22fe0..229d996c9 100644
--- a/player.h
+++ b/player.h
@@ -202,7 +202,7 @@ typedef struct Player {
uint16 GetDrawStringPlayerColor(PlayerID player);
void ChangeOwnershipOfPlayerItems(PlayerID old_player, PlayerID new_player);
-void GetNameOfOwner(PlayerID owner, TileIndex tile);
+void GetNameOfOwner(Owner owner, TileIndex tile);
int64 CalculateCompanyValue(const Player* p);
void InvalidatePlayerWindows(const Player* p);
void UpdatePlayerMoney32(Player *p);