diff options
author | tron <tron@openttd.org> | 2005-10-16 09:13:04 +0000 |
---|---|---|
committer | tron <tron@openttd.org> | 2005-10-16 09:13:04 +0000 |
commit | 66bf4f863dc4e98a16772f661f6b3e214c3d92f1 (patch) | |
tree | 3d8e77c53a48b7cf354777fe120740126f2a7615 /player.h | |
parent | ab657338ec74150e083f2b04a2c3975e1546ad13 (diff) | |
download | openttd-66bf4f863dc4e98a16772f661f6b3e214c3d92f1.tar.xz |
(svn r3049) Replace byte/int/uint by RailType where appropriate
Diffstat (limited to 'player.h')
-rw-r--r-- | player.h | 2 |
1 files changed, 1 insertions, 1 deletions
@@ -253,7 +253,7 @@ static inline bool ValParamRailtype(uint32 rail) { return HASBIT(GetPlayer(_curr * @param p the player "in action" * @return The "best" railtype a player has available */ -static inline byte GetBestRailtype(const Player *p) +static inline RailType GetBestRailtype(const Player* p) { if (HasRailtypeAvail(p, RAILTYPE_MAGLEV)) return RAILTYPE_MAGLEV; if (HasRailtypeAvail(p, RAILTYPE_MONO)) return RAILTYPE_MONO; |