fix(InfiniteAmmo/Mag): Removed unused includes
This commit is contained in:
parent
0687b96117
commit
0fb2595242
@ -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
|
||||
{
|
||||
|
@ -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);
|
||||
}
|
||||
}
|
||||
}
|
Reference in New Issue
Block a user