diff options
author | tron <tron@openttd.org> | 2006-06-27 21:25:53 +0000 |
---|---|---|
committer | tron <tron@openttd.org> | 2006-06-27 21:25:53 +0000 |
commit | 772fbda3e37488c2bf7beb96d35b2cbe001d9eda (patch) | |
tree | 1bfdb9c99b43fdc3b07ac13cbed4259a06d34f6f /player.h | |
parent | 7fa72c5e2f224243a8c89096f0b07259e05e44cf (diff) | |
download | openttd-772fbda3e37488c2bf7beb96d35b2cbe001d9eda.tar.xz |
(svn r5391) Miscellaneous, mostly bracing and whitespace, nothing spectacular
Diffstat (limited to 'player.h')
-rw-r--r-- | player.h | 11 |
1 files changed, 5 insertions, 6 deletions
@@ -238,12 +238,11 @@ static inline bool HasRailtypeAvail(const Player *p, RailType Railtype) static inline bool ValParamRailtype(uint32 rail) { return HASBIT(GetPlayer(_current_player)->avail_railtypes, rail);} /** Returns the "best" railtype a player can build. - * As the AI doesn't know what the BEST one is, we - * have our own priority list here. When adding - * new railtypes, modify this function - * @param p the player "in action" - * @return The "best" railtype a player has available - */ + * As the AI doesn't know what the BEST one is, we have our own priority list + * here. When adding new railtypes, modify this function + * @param p the player "in action" + * @return The "best" railtype a player has available + */ static inline RailType GetBestRailtype(const Player* p) { if (HasRailtypeAvail(p, RAILTYPE_MAGLEV)) return RAILTYPE_MAGLEV; |