player.h
changeset 2520 75eb66d6e371
parent 2475 8443e1eefe1b
child 2525 9b75e9239c38
--- a/player.h	Sun Oct 16 07:58:15 2005 +0000
+++ b/player.h	Sun Oct 16 09:13:04 2005 +0000
@@ -253,7 +253,7 @@
   * @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;