From 66bf4f863dc4e98a16772f661f6b3e214c3d92f1 Mon Sep 17 00:00:00 2001 From: tron Date: Sun, 16 Oct 2005 09:13:04 +0000 Subject: (svn r3049) Replace byte/int/uint by RailType where appropriate --- player.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'player.h') 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; -- cgit v1.2.3-54-g00ecf