diff options
Diffstat (limited to 'src/engine.cpp')
-rw-r--r-- | src/engine.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/engine.cpp b/src/engine.cpp index 030b3ca8a..814f14e40 100644 --- a/src/engine.cpp +++ b/src/engine.cpp @@ -386,7 +386,7 @@ void SetCachedEngineCounts() const Vehicle *v; FOR_ALL_VEHICLES(v) { - if (!IsEngineCountable(v)) continue; + if (!v->IsEngineCountable()) continue; assert(v->engine_type < engines); |