Changeset - r10876:14fd6d5f585d
[Not reviewed]
master
0 1 0
smatz - 16 years ago 2009-01-22 22:02:05
smatz@openttd.org
(svn r15211) -Fix (r15190): loading of TTD savegames was broken
1 file changed with 3 insertions and 0 deletions:
0 comments (0 inline, 0 general)
src/saveload/oldloader.cpp
Show inline comments
 
@@ -5,12 +5,13 @@
 
#include "../stdafx.h"
 
#include "../openttd.h"
 
#include "../tile_type.h"
 
#include "../debug.h"
 
#include "../strings_type.h"
 
#include "../string_func.h"
 
#include "../settings_type.h"
 

	
 
#include "table/strings.h"
 

	
 
#include "saveload.h"
 
#include "saveload_internal.h"
 
#include "oldloader.h"
 
@@ -186,12 +187,14 @@ static void InitLoading(LoadgameState *l
 

	
 
	ls->buffer_cur   = 0;
 
	ls->buffer_count = 0;
 
	memset(ls->buffer, 0, BUFFER_SIZE);
 

	
 
	_bump_assert_value = 0;
 

	
 
	_settings_game.construction.freeform_edges = false; // disable so we can convert map array (SetTileType is still used)
 
}
 

	
 

	
 

	
 
/**
 
 * Verifies the title has a valid checksum
0 comments (0 inline, 0 general)