(svn r10758) -Codechange: make the depot struct use the pool item class as super class.
This commit is contained in:
@@ -520,7 +520,7 @@ static bool LoadOldDepot(LoadgameState *ls, int num)
|
||||
|
||||
if (!LoadChunk(ls, GetDepot(num), depot_chunk)) return false;
|
||||
|
||||
if (IsValidDepot(GetDepot(num))) {
|
||||
if (IsValidDepotID(num)) {
|
||||
GetDepot(num)->town_index = REMAP_TOWN_IDX(_old_town_index);
|
||||
}
|
||||
|
||||
|
Reference in New Issue
Block a user