diff options
author | rubidium <rubidium@openttd.org> | 2010-08-26 17:08:37 +0000 |
---|---|---|
committer | rubidium <rubidium@openttd.org> | 2010-08-26 17:08:37 +0000 |
commit | 16bcd6c0cfe96690c65cce54345de08415fb9c0f (patch) | |
tree | 40c92374e56e1d6fa3b4b524d6bc0fa22ace5ce1 /src | |
parent | ddf1510a23b3124dcdaac5cb8f23ef374da88f71 (diff) | |
download | openttd-16bcd6c0cfe96690c65cce54345de08415fb9c0f.tar.xz |
(svn r20628) -Fix: typos in animation trigger enum/comments
Diffstat (limited to 'src')
-rw-r--r-- | src/newgrf_animation_type.h | 4 | ||||
-rw-r--r-- | src/station_cmd.cpp | 2 |
2 files changed, 3 insertions, 3 deletions
diff --git a/src/newgrf_animation_type.h b/src/newgrf_animation_type.h index c8d6a87b7..355aa8121 100644 --- a/src/newgrf_animation_type.h +++ b/src/newgrf_animation_type.h @@ -46,11 +46,11 @@ enum IndustryAnimationTrigger { /** 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 */ diff --git a/src/station_cmd.cpp b/src/station_cmd.cpp index a1b971527..6dfb54f1c 100644 --- a/src/station_cmd.cpp +++ b/src/station_cmd.cpp @@ -3154,7 +3154,7 @@ void OnTick_Station() /* 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); } } } |