mirror of
https://github.com/EpochModTeam/DayZ-Epoch.git
synced 2025-12-14 04:02:37 +03:00
There is no point in having two variables for the same purpose. It is also pointless to keep an action count tally like r_action_count was doing, since it is only ever checked for being 0 or 1. Any count higher or lower than that is irrelevant. I will make this change in vanilla too.
21 lines
588 B
C++
21 lines
588 B
C++
#include "Melee.hpp"
|
|
|
|
#define COMBINE_MAG class CombineMag\
|
|
{\
|
|
text = $STR_MAG_COMBINE;\
|
|
script = "spawn player_combineMag;";\
|
|
};
|
|
|
|
#include "9x18.hpp" //Makarov
|
|
#include "9x19.hpp" //MP5, PDW, Bizon, M9, G17
|
|
#include "45ACP.hpp" //Colt M1911, Revolver
|
|
#include "545x39.hpp" //AK74, RPK74
|
|
#include "556x45.hpp" //M249, STANAG, G36
|
|
#include "762x39.hpp" //AK47, SA58
|
|
#include "762x51.hpp" //M240, FN FAL, DMR, M24
|
|
#include "762x54r.hpp" //PK, SVD, Mosin
|
|
#include "Misc.hpp" //CZ550, Lee-Enfield, Winchester 1866
|
|
#include "Shotgun.hpp"
|
|
#include "Arrows.hpp"
|
|
|
|
#undef COMBINE_MAG |