summaryrefslogtreecommitdiff
path: root/src/station_cmd.cpp
diff options
context:
space:
mode:
authorpeter1138 <peter1138@openttd.org>2013-01-11 07:39:25 +0000
committerpeter1138 <peter1138@openttd.org>2013-01-11 07:39:25 +0000
commitc00a400cc7e7626a430ed65d29a47c02a7a14eaa (patch)
tree0936d13989bc82bcc8bf50026d2ba55f7afed7ee /src/station_cmd.cpp
parent4ebbfc3de4a50b6cf73a7fe50dd17ac1e42efb92 (diff)
downloadopenttd-c00a400cc7e7626a430ed65d29a47c02a7a14eaa.tar.xz
(svn r24905) -Feature(ish): Implement station randomisation triggers.
Diffstat (limited to 'src/station_cmd.cpp')
-rw-r--r--src/station_cmd.cpp1
1 files changed, 1 insertions, 0 deletions
diff --git a/src/station_cmd.cpp b/src/station_cmd.cpp
index 398ac0c8f..180a25d76 100644
--- a/src/station_cmd.cpp
+++ b/src/station_cmd.cpp
@@ -3380,6 +3380,7 @@ static uint UpdateStationWaiting(Station *st, CargoID type, uint amount, SourceT
SetBit(ge.acceptance_pickup, GoodsEntry::GES_PICKUP);
}
+ TriggerStationRandomisation(st, st->xy, SRT_NEW_CARGO, type);
TriggerStationAnimation(st, st->xy, SAT_NEW_CARGO, type);
AirportAnimationTrigger(st, AAT_STATION_NEW_CARGO, type);