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:
@@ -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);
|
||||
|
||||
|
Reference in New Issue
Block a user