(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 65979340de
commit 395b44d15c
2 changed files with 8 additions and 0 deletions

View File

@ -2477,3 +2477,9 @@ void GameSizeChanged(void)
ScreenSizeChanged(); ScreenSizeChanged();
MarkWholeScreenDirty(); 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 InitializeDock(void);
void InitializeDockGui(void); void InitializeDockGui(void);
void InitializeIndustries(void); void InitializeIndustries(void);
void InitializeMainGui(void);
void InitializeLandscape(void); void InitializeLandscape(void);
void InitializeTowns(void); void InitializeTowns(void);
void InitializeTrees(void); void InitializeTrees(void);
@ -168,6 +169,7 @@ void InitializeGame(int mode, uint size_x, uint size_y)
InitializeSigns(); InitializeSigns();
InitializeStations(); InitializeStations();
InitializeIndustries(); InitializeIndustries();
InitializeMainGui();
InitializeNameMgr(); InitializeNameMgr();
InitializeVehiclesGuiList(); InitializeVehiclesGuiList();