diff --git a/BigBaseV2/src/backend/looped/weapons/repair_gun.cpp b/BigBaseV2/src/backend/looped/weapons/repair_gun.cpp index cc67f506..47506ec6 100644 --- a/BigBaseV2/src/backend/looped/weapons/repair_gun.cpp +++ b/BigBaseV2/src/backend/looped/weapons/repair_gun.cpp @@ -1,6 +1,7 @@ #include "backend/looped/looped.hpp" #include "core/enums.hpp" #include "util/entity.hpp" +#include "util/vehicle.hpp" #include "util/notify.hpp" namespace big @@ -27,9 +28,7 @@ namespace big { if (ENTITY::IS_ENTITY_A_VEHICLE(entity)) { - VEHICLE::SET_VEHICLE_FIXED(entity); - VEHICLE::SET_VEHICLE_DEFORMATION_FIXED(entity); - VEHICLE::SET_VEHICLE_DIRT_LEVEL(entity, 0.f); + vehicle::repair(entity); } else {