summaryrefslogtreecommitdiff
path: root/src/oldpool.h
diff options
context:
space:
mode:
authorrubidium <rubidium@openttd.org>2008-10-30 12:32:32 +0000
committerrubidium <rubidium@openttd.org>2008-10-30 12:32:32 +0000
commitc1ed1866a4d41e113573a6eaf521912244e4642d (patch)
tree6d78e76d16e51557dfcddeb91bcaa577ffe55801 /src/oldpool.h
parent5b625363819f0e77368345f2ef8b4b0abdd2d68e (diff)
downloadopenttd-c1ed1866a4d41e113573a6eaf521912244e4642d.tar.xz
(svn r14547) -Fix: order pool seemed to look full when it was not as it only checked whether it was possible to allocate a new block of pool items instead of checking for free pool items.
Diffstat (limited to 'src/oldpool.h')
-rw-r--r--src/oldpool.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/oldpool.h b/src/oldpool.h
index 457e5327d..8396e5de0 100644
--- a/src/oldpool.h
+++ b/src/oldpool.h
@@ -311,7 +311,7 @@ protected:
}
public:
- static bool CanAllocateItem();
+ static bool CanAllocateItem(uint count = 1);
};