(svn r6984) Use the pool macros for the RoadStop pool

This commit is contained in:
tron
2006-10-28 11:51:38 +00:00
parent f51d2a3311
commit f0836260e8
3 changed files with 10 additions and 26 deletions

View File

@@ -1263,7 +1263,7 @@ static void *IntToReference(uint index, SLRefType rt)
return GetTown(index);
}
case REF_ROADSTOPS: {
if (!AddBlockIfNeeded(&_roadstop_pool, index))
if (!AddBlockIfNeeded(&_RoadStop_pool, index))
error("RoadStops: failed loading savegame: too many RoadStops");
return GetRoadStop(index);
}