(svn r4520) -Fix: Did last commit in the wrong branch. Repair and shame on me.

This commit is contained in:
celestar 2006-04-22 09:25:36 +00:00
parent aa33135450
commit 084acbf23c
2 changed files with 8 additions and 0 deletions

View File

@ -2477,3 +2477,9 @@ void GameSizeChanged(void)
ScreenSizeChanged();
MarkWholeScreenDirty();
}
void InitializeMainGui(void)
{
/* Clean old GUI values */
_last_built_railtype = 0;
}

2
misc.c
View File

@ -104,6 +104,7 @@ void InitializeAirportGui(void);
void InitializeDock(void);
void InitializeDockGui(void);
void InitializeIndustries(void);
void InitializeMainGui(void);
void InitializeLandscape(void);
void InitializeTowns(void);
void InitializeTrees(void);
@ -168,6 +169,7 @@ void InitializeGame(int mode, uint size_x, uint size_y)
InitializeSigns();
InitializeStations();
InitializeIndustries();
InitializeMainGui();
InitializeNameMgr();
InitializeVehiclesGuiList();