Changeset - r14724:8f8a60f22bdd
[Not reviewed]
master
0 2 0
yexo - 14 years ago 2010-03-05 23:20:02
yexo@openttd.org
(svn r19322) -Codechange: change the id of the oilrig airport from 15 to 9
2 files changed with 2 insertions and 1 deletions:
0 comments (0 inline, 0 general)
src/airport.h
Show inline comments
 
@@ -36,7 +36,7 @@ enum {
 
	AT_INTERCON      =   7,
 
	AT_HELISTATION   =   8,
 
	NUM_AIRPORTS     =   9,
 
	AT_OILRIG        =  15,
 
	AT_OILRIG        =   9,
 
	AT_DUMMY         = 255
 
};
 

	
src/saveload/afterload.cpp
Show inline comments
 
@@ -2067,6 +2067,7 @@ bool AfterLoadGame()
 
		Station *st;
 
		FOR_ALL_STATIONS(st) {
 
			if (st->airport.tile != INVALID_TILE) {
 
				if (st->airport_type == 15) st->airport_type = AT_OILRIG;
 
				st->airport.w = st->GetAirportSpec()->size_x;
 
				st->airport.h = st->GetAirportSpec()->size_y;
 
			}
0 comments (0 inline, 0 general)