summaryrefslogtreecommitdiff
path: root/src/engine.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'src/engine.cpp')
-rw-r--r--src/engine.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/engine.cpp b/src/engine.cpp
index aa7e29c32..0f641d016 100644
--- a/src/engine.cpp
+++ b/src/engine.cpp
@@ -356,7 +356,7 @@ EngineID EngineOverrideManager::GetID(VehicleType type, uint16 grf_local_id, uin
*/
void SetCachedEngineCounts()
{
- uint engines = GetEnginePoolSize();
+ uint engines = Engine::GetPoolSize();
/* Set up the engine count for all companies */
Company *c;