Changeset - r20990:922c0de49391
[Not reviewed]
master
0 1 0
rubidium - 11 years ago 2013-11-23 18:06:00
rubidium@openttd.org
(svn r26064) -Fix: possible uninitialised array when loading a broken TT-ish savegame
1 file changed with 1 insertions and 1 deletions:
0 comments (0 inline, 0 general)
src/saveload/oldloader.cpp
Show inline comments
 
@@ -244,7 +244,7 @@ static inline bool CheckOldSavegameType(
 
static SavegameType DetermineOldSavegameType(FILE *f, char *title, const char *last)
 
{
 
	assert_compile(TTD_HEADER_SIZE >= TTO_HEADER_SIZE);
 
	char temp[TTD_HEADER_SIZE];
 
	char temp[TTD_HEADER_SIZE] = "Unknown";
 

	
 
	SavegameType type = SGT_TTO;
 

	
0 comments (0 inline, 0 general)