diff options
author | rubidium <rubidium@openttd.org> | 2007-08-02 22:33:53 +0000 |
---|---|---|
committer | rubidium <rubidium@openttd.org> | 2007-08-02 22:33:53 +0000 |
commit | 549450d31a4676039e2663e66e23e2f5bae3f7f1 (patch) | |
tree | 04f6cea517d07342aa29326257419e2460c68a49 /src/oldloader.cpp | |
parent | 5016f5497ccacd0837d37d5099433b3d7728838b (diff) | |
download | openttd-549450d31a4676039e2663e66e23e2f5bae3f7f1.tar.xz |
(svn r10758) -Codechange: make the depot struct use the pool item class as super class.
Diffstat (limited to 'src/oldloader.cpp')
-rw-r--r-- | src/oldloader.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/oldloader.cpp b/src/oldloader.cpp index bd28b4881..adf3af037 100644 --- a/src/oldloader.cpp +++ b/src/oldloader.cpp @@ -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); } |