Changeset - r13263:494f6eab0774
[Not reviewed]
master
0 1 0
rubidium - 15 years ago 2009-10-17 08:12:39
rubidium@openttd.org
(svn r17782) -Fix [FS#3270]: animation wasn't removed from station tiles when keeping the rail during removal
1 file changed with 3 insertions and 5 deletions:
0 comments (0 inline, 0 general)
src/station_cmd.cpp
Show inline comments
 
@@ -1270,11 +1270,9 @@ CommandCost RemoveFromRailBaseStation(Ti
 
				}
 
			}
 

	
 
			if (keep_rail) {
 
				MakeRailNormal(tile, owner, TrackToTrackBits(track), rt);
 
			} else {
 
				DoClearSquare(tile);
 
			}
 
			DoClearSquare(tile);
 
			if (keep_rail) MakeRailNormal(tile, owner, TrackToTrackBits(track), rt);
 

	
 
			st->rect.AfterRemoveTile(st, tile);
 
			AddTrackToSignalBuffer(tile, track, owner);
 
			YapfNotifyTrackLayoutChange(tile, track);
0 comments (0 inline, 0 general)