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

This commit is contained in:
smatz
2009-07-13 16:35:22 +00:00
parent 0a1b4912ef
commit 98b8479f56
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);