Mercurial > hg > openttd
changeset 19972:fd64600e8a51 draft
(svn r24904) -Fix (r22746): "Train loads/unloads cargo" station animation triggers on individual platform
author | peter1138 <peter1138@openttd.org> |
---|---|
date | Thu, 10 Jan 2013 22:56:49 +0000 |
parents | 60c0895a16f3 |
children | f8c0e108128c |
files | src/economy.cpp |
diffstat | 1 files changed, 1 insertions(+), 1 deletions(-) [+] |
line wrap: on
line diff
--- a/src/economy.cpp +++ b/src/economy.cpp @@ -1552,7 +1552,7 @@ } if (anything_loaded || anything_unloaded) { - if (front->type == VEH_TRAIN) TriggerStationAnimation(st, st->xy, SAT_TRAIN_LOADS); + if (front->type == VEH_TRAIN) TriggerStationAnimation(st, front->tile, SAT_TRAIN_LOADS); } /* Only set completely_emptied, if we just unloaded all remaining cargo */