Mercurial > hg > openttd
changeset 15940:8d3ed5defc9d draft
(svn r20628) -Fix: typos in animation trigger enum/comments
author | rubidium <rubidium@openttd.org> |
---|---|
date | Thu, 26 Aug 2010 17:08:37 +0000 |
parents | d818797c4bd0 |
children | 4f9bd324fa0a |
files | src/newgrf_animation_type.h src/station_cmd.cpp |
diffstat | 2 files changed, 3 insertions(+), 3 deletions(-) [+] |
line wrap: on
line diff
--- a/src/newgrf_animation_type.h +++ b/src/newgrf_animation_type.h @@ -46,11 +46,11 @@ /** Animation triggers for airport tiles */ enum AirpAnimationTrigger { - AAT_BUILT, ///< Triggered when the airport it build (for all tiles at the same time). + AAT_BUILT, ///< Triggered when the airport is built (for all tiles at the same time). AAT_TILELOOP, ///< Triggered in the periodic tile loop. AAT_STATION_NEW_CARGO, ///< Triggered when new cargo arrives at the station (for all tiles at the same time). AAT_STATION_CARGO_TAKEN, ///< Triggered when a cargo type is completely removed from the station (for all tiles at the same time). - AAT_STATION_250_ticks, ///< Triggered every 250 ticks (for all tiles at the same time). + AAT_STATION_250_TICKS, ///< Triggered every 250 ticks (for all tiles at the same time). }; #endif /* NEWGRF_ANIMATION_TYPE_H */
--- a/src/station_cmd.cpp +++ b/src/station_cmd.cpp @@ -3154,7 +3154,7 @@ /* Stop processing this station if it was deleted */ if (!StationHandleBigTick(st)) continue; TriggerStationAnimation(st, st->xy, SAT_250_TICKS); - if (Station::IsExpected(st)) AirportAnimationTrigger(Station::From(st), AAT_STATION_250_ticks); + if (Station::IsExpected(st)) AirportAnimationTrigger(Station::From(st), AAT_STATION_250_TICKS); } } }