changeset 19971:60c0895a16f3 draft

(svn r24903) -Fix: Cached station animation triggers were only set when removing parts of a station.
author peter1138 <peter1138@openttd.org>
date Thu, 10 Jan 2013 18:58:22 +0000
parents 36413e71489b
children fd64600e8a51
files src/newgrf_station.cpp
diffstat 1 files changed, 2 insertions(+), 0 deletions(-) [+]
line wrap: on
line diff
--- a/src/newgrf_station.cpp
+++ b/src/newgrf_station.cpp
@@ -730,6 +730,8 @@
 		st->speclist[i].spec     = statspec;
 		st->speclist[i].grfid    = statspec->grf_prop.grffile->grfid;
 		st->speclist[i].localidx = statspec->grf_prop.local_id;
+
+		StationUpdateAnimTriggers(st);
 	}
 
 	return i;