From 3e2f1b664e529edbf6723bcb8fa2b6704c598eff Mon Sep 17 00:00:00 2001 From: pongo1231 Date: Wed, 6 Sep 2023 23:44:41 +0000 Subject: [PATCH] ChaosMod: Fix "Lag" effect turning vehicle engine off --- ChaosMod/Effects/db/Misc/MiscLag.cpp | 2 ++ 1 file changed, 2 insertions(+) diff --git a/ChaosMod/Effects/db/Misc/MiscLag.cpp b/ChaosMod/Effects/db/Misc/MiscLag.cpp index d336d60ab..09c681c45 100644 --- a/ChaosMod/Effects/db/Misc/MiscLag.cpp +++ b/ChaosMod/Effects/db/Misc/MiscLag.cpp @@ -88,6 +88,8 @@ static void OnTickLag() SET_ENTITY_VELOCITY(veh, vel.x, vel.y, vel.z); SET_VEHICLE_FORWARD_SPEED(veh, forwardSpeed); + + SET_VEHICLE_ENGINE_ON(veh, true, true, false); } ms_ToTpVehs.clear();