mirror of
https://github.com/Mr-X-GTA/YimMenu.git
synced 2025-06-19 07:28:04 +08:00
12 lines
271 B
C++
12 lines
271 B
C++
#include "backend/looped/looped.hpp"
|
|
#include "util/vehicle.hpp"
|
|
|
|
namespace big
|
|
{
|
|
void looped::vehicle_keep_vehicle_repaired()
|
|
{
|
|
if (g->vehicle.keep_vehicle_repaired && VEHICLE::GET_DOES_VEHICLE_HAVE_DAMAGE_DECALS(self::veh)) {
|
|
vehicle::repair(self::veh);
|
|
}
|
|
}
|
|
} |