mirror of
https://github.com/EpochModTeam/DayZ-Epoch.git
synced 2025-12-14 20:13:13 +03:00
The visionMode array must be emptied otherwise both weapons have always the NVG mode even when the player has no nomral NVG. Also added a Mk12 SPR version that does not work with the NVG.
14 lines
403 B
C++
14 lines
403 B
C++
class M4SPR;
|
|
class M4SPR_DZ: M4SPR // Works with NVG
|
|
{
|
|
//Moved 30Rnd Stanag to first in array
|
|
magazines[] = {"30Rnd_556x45_Stanag", "20Rnd_556x45_Stanag", "30Rnd_556x45_G36", "100Rnd_556x45_BetaCMag", "60Rnd_556x45_Stanag_Taped"};
|
|
|
|
//A2OA M4SPR does not allow NVG after 2018-04-05 CorePatch
|
|
visionMode[] = {};
|
|
};
|
|
|
|
class M4SPR_DZE: M4SPR_DZ // Does not work with NVG
|
|
{
|
|
visionMode[] = {"Normal"};
|
|
}; |