diff options
author | tron <tron@openttd.org> | 2006-10-28 11:37:26 +0000 |
---|---|---|
committer | tron <tron@openttd.org> | 2006-10-28 11:37:26 +0000 |
commit | c61e0963e0795e9f1121670ae4f1340b1b5dffb6 (patch) | |
tree | 888a11aeb6b487c139d0e65f78f8c9cb6c0c9bab /oldloader.c | |
parent | 4cb479e083d8edd3005b8db00f350b9fdb3bf2a6 (diff) | |
download | openttd-c61e0963e0795e9f1121670ae4f1340b1b5dffb6.tar.xz |
(svn r6980) Use the pool macros for the Order pool
Diffstat (limited to 'oldloader.c')
-rw-r--r-- | oldloader.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/oldloader.c b/oldloader.c index cec51e74a..65a03767a 100644 --- a/oldloader.c +++ b/oldloader.c @@ -497,7 +497,7 @@ static const OldChunks order_chunk[] = { static bool LoadOldOrder(LoadgameState *ls, int num) { - if (!AddBlockIfNeeded(&_order_pool, num)) + if (!AddBlockIfNeeded(&_Order_pool, num)) error("Orders: failed loading savegame: too many orders"); if (!LoadChunk(ls, NULL, order_chunk)) return false; |