(svn r12782) -Codechange: remove some functions from functions.h and do not statically 'waste' memory when the old name array is not needed anymore.
This commit is contained in:
@@ -91,6 +91,7 @@ void IncreaseDate();
|
||||
void DoPaletteAnimations();
|
||||
void MusicLoop();
|
||||
void ResetMusic();
|
||||
void ResetOldNames();
|
||||
|
||||
extern void SetDifficultyLevel(int mode, GameOptions *gm_opt);
|
||||
extern Player* DoStartupNewPlayer(bool is_ai);
|
||||
@@ -1390,6 +1391,9 @@ bool AfterLoadGame()
|
||||
}
|
||||
}
|
||||
|
||||
/* From this point the old names array is cleared. */
|
||||
ResetOldNames();
|
||||
|
||||
/* convert road side to my format. */
|
||||
if (_opt.road_side) _opt.road_side = 1;
|
||||
|
||||
|
Reference in New Issue
Block a user