1
0
mirror of https://github.com/OpenTTD/OpenTTD.git synced 2025-08-20 13:09:15 +00:00

(svn r6980) Use the pool macros for the Order pool

This commit is contained in:
tron
2006-10-28 11:37:26 +00:00
parent 4cb479e083
commit c61e0963e0
5 changed files with 15 additions and 32 deletions

View File

@@ -1248,7 +1248,7 @@ static void *IntToReference(uint index, SLRefType rt)
switch (rt) {
case REF_ORDER: {
if (!AddBlockIfNeeded(&_order_pool, index))
if (!AddBlockIfNeeded(&_Order_pool, index))
error("Orders: failed loading savegame: too many orders");
return GetOrder(index);
}