diff --git a/src/newgrf_engine.cpp b/src/newgrf_engine.cpp index dd883425b0..aaf9e61160 100644 --- a/src/newgrf_engine.cpp +++ b/src/newgrf_engine.cpp @@ -680,7 +680,7 @@ static uint32_t VehicleGetVariable(Vehicle *v, const VehicleScopeResolver *objec } case 0x46: // Motion counter - return v->motion_counter; + return v->First()->motion_counter; case 0x47: { // Vehicle cargo info /* Format: ccccwwtt