1
0
mirror of https://github.com/OpenTTD/OpenTTD.git synced 2025-08-13 17:49:10 +00:00

(svn r16813) -Codechange: make IsEngineCountable() member of Vehicle

This commit is contained in:
smatz
2009-07-13 16:35:22 +00:00
parent bb9fee178d
commit 868c21cbcc
6 changed files with 14 additions and 14 deletions

View File

@@ -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);