Changeset - r10262:afb30c59e62b
[Not reviewed]
master
0 1 0
frosch - 16 years ago 2008-10-19 17:30:41
frosch@openttd.org
(svn r14493) -Fix[FS#planetmaker]: Do not assign a station spread to buoys on loading games.
1 file changed with 2 insertions and 1 deletions:
0 comments (0 inline, 0 general)
src/openttd.cpp
Show inline comments
 
@@ -1507,7 +1507,8 @@ bool AfterLoadGame()
 
			case MP_STATION: {
 
				Station *st = GetStationByTile(t);
 

	
 
				st->rect.BeforeAddTile(t, StationRect::ADD_FORCE);
 
				/* Set up station spread; buoys do not have one */
 
				if (!IsBuoy(t)) st->rect.BeforeAddTile(t, StationRect::ADD_FORCE);
 

	
 
				switch (GetStationType(t)) {
 
					case STATION_TRUCK:
0 comments (0 inline, 0 general)