(svn r6986) Use the pool macros for the Town pool

This commit is contained in:
tron
2006-10-28 11:55:29 +00:00
parent 02ae75b380
commit e397b721cd
5 changed files with 12 additions and 34 deletions

View File

@@ -483,7 +483,7 @@ static const OldChunks town_chunk[] = {
};
static bool LoadOldTown(LoadgameState *ls, int num)
{
if (!AddBlockIfNeeded(&_town_pool, num))
if (!AddBlockIfNeeded(&_Town_pool, num))
error("Towns: failed loading savegame: too many towns");
return LoadChunk(ls, GetTown(num), town_chunk);