summaryrefslogtreecommitdiff
path: root/src/order.h
diff options
context:
space:
mode:
authortron <tron@openttd.org>2007-02-03 09:05:43 +0000
committertron <tron@openttd.org>2007-02-03 09:05:43 +0000
commitcf5514ce8dc733f3f3afe6f6c69f8e0173df370c (patch)
tree26d91439e6a9b8f23752f33cabd1ef990dec8c60 /src/order.h
parente2ad9abbcae8dc14f699cdf3775a4bcbb1da8a5a (diff)
downloadopenttd-cf5514ce8dc733f3f3afe6f6c69f8e0173df370c.tar.xz
(svn r8550) -Fix
Building a vehicle does not involve allocating orders, so do not check whether orders could be allocated
Diffstat (limited to 'src/order.h')
-rw-r--r--src/order.h4
1 files changed, 0 insertions, 4 deletions
diff --git a/src/order.h b/src/order.h
index ddc97481d..7d14d6c15 100644
--- a/src/order.h
+++ b/src/order.h
@@ -167,10 +167,6 @@ static inline bool HasOrderPoolFree(uint amount)
return false;
}
-static inline bool IsOrderPoolFull(void)
-{
- return !HasOrderPoolFree(1);
-}
/* Pack and unpack routines */