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:
@@ -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);
|
||||
}
|
||||
|
Reference in New Issue
Block a user