(svn r10758) -Codechange: make the depot struct use the pool item class as super class.

This commit is contained in:
rubidium
2007-08-02 22:33:53 +00:00
parent c1d167ae14
commit c60988a1d5
7 changed files with 41 additions and 92 deletions

View File

@@ -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);
}