summaryrefslogtreecommitdiff
path: root/player.h
diff options
context:
space:
mode:
authortron <tron@openttd.org>2005-10-16 09:13:04 +0000
committertron <tron@openttd.org>2005-10-16 09:13:04 +0000
commit66bf4f863dc4e98a16772f661f6b3e214c3d92f1 (patch)
tree3d8e77c53a48b7cf354777fe120740126f2a7615 /player.h
parentab657338ec74150e083f2b04a2c3975e1546ad13 (diff)
downloadopenttd-66bf4f863dc4e98a16772f661f6b3e214c3d92f1.tar.xz
(svn r3049) Replace byte/int/uint by RailType where appropriate
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 88a5ba7e4..82a15a6db 100644
--- a/player.h
+++ b/player.h
@@ -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;