(svn r3049) Replace byte/int/uint by RailType where appropriate

This commit is contained in:
tron
2005-10-16 09:13:04 +00:00
parent d318f3763a
commit e3d1e43559
13 changed files with 27 additions and 29 deletions

View File

@@ -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;