fix(InfiniteAmmo/Mag): Removed unused includes

This commit is contained in:
Yimura 2022-02-13 23:53:10 +01:00
parent c49cb35cfc
commit 11b51edaea
2 changed files with 4 additions and 10 deletions

View File

@ -1,8 +1,6 @@
#include "backend/looped/looped.hpp"
#include "core/enums.hpp"
#include "util/entity.hpp"
#include "util/math.hpp"
#include "util/notify.hpp"
#include "gta/joaat.hpp"
#include "natives.hpp"
namespace big
{

View File

@ -1,16 +1,12 @@
#include "backend/looped/looped.hpp"
#include "core/enums.hpp"
#include "util/entity.hpp"
#include "util/math.hpp"
#include "util/notify.hpp"
#include "natives.hpp"
namespace big
{
void looped::weapons_infinite_mag()
{
if (g.weapons.infinite_mag) {
auto const ped = PLAYER::PLAYER_PED_ID();
WEAPON::SET_PED_INFINITE_AMMO_CLIP(ped, g.weapons.infinite_mag);
WEAPON::SET_PED_INFINITE_AMMO_CLIP(PLAYER::PLAYER_PED_ID(), g.weapons.infinite_mag);
}
}
}