Changeset - r15167:2e86f6d3fcca
[Not reviewed]
master
0 1 0
smatz - 15 years ago 2010-05-13 05:34:21
smatz@openttd.org
(svn r19806) -Codechange: silence one warning
1 file changed with 1 insertions and 1 deletions:
0 comments (0 inline, 0 general)
src/saveload/depot_sl.cpp
Show inline comments
 
@@ -43,13 +43,13 @@ static void Load_DEPT()
 

	
 
	while ((index = SlIterateArray()) != -1) {
 
		Depot *depot = new (index) Depot();
 
		SlObject(depot, _depot_desc);
 

	
 
		/* Set the town 'pointer' so we can restore it later. */
 
		if (CheckSavegameVersion(141)) depot->town = (Town *)_town_index;
 
		if (CheckSavegameVersion(141)) depot->town = (Town *)(size_t)_town_index;
 
	}
 
}
 

	
 
static void Ptrs_DEPT()
 
{
 
	Depot *depot;
0 comments (0 inline, 0 general)