mirror of
https://github.com/EpochModTeam/DayZ-Epoch.git
synced 2025-12-21 19:06:29 +03:00
Fix Corepatch AS50 magazine spawn (#1955)
* Fix Corepatch AS50 magazine spawn
The Corepatch broke some of the AS50 magazine spawns. Im not sure why it happend sometimes and sometimes not.
This message showed up sometimes: No entry 'bin\config.bin/CfgMagazines-5Rnd_127x99_as50_CP'.
The CorePatch use that:
e0d06f7086/CorePatch_CIT_14888/config.cpp
This commit should fix that error message and the AS50 name as well.
* Define 5Rnd_127x99_as50_CP class
* Update AS50 fix
* Revert AS50 ammo fix
This commit is contained in:
5
SQF/dayz_code/Configs/CfgMagazines/Magazines/127x99.hpp
Normal file
5
SQF/dayz_code/Configs/CfgMagazines/Magazines/127x99.hpp
Normal file
@@ -0,0 +1,5 @@
|
||||
class 5Rnd_127x99_as50;
|
||||
class 5Rnd_127x99_as50_CP : 5Rnd_127x99_as50
|
||||
{
|
||||
ammo = "B_127x99_Ball_noTracer";
|
||||
};
|
||||
@@ -18,5 +18,6 @@
|
||||
#include "Shotgun.hpp"
|
||||
#include "Arrows.hpp"
|
||||
#include "LauncherAmmo.hpp"
|
||||
#include "127x99.hpp" //Remove after A2OA stable branch exceeds Version 1.63.131129
|
||||
|
||||
#undef COMBINE_MAG
|
||||
@@ -1,8 +1,8 @@
|
||||
class BAF_AS50_scoped;
|
||||
class BAF_AS50_scoped_DZ : BAF_AS50_scoped {
|
||||
displayname = "AS50_DZ";
|
||||
displayname = "AS50";
|
||||
type = WeaponSlotPrimary;
|
||||
canlock = 0;
|
||||
//cursor = "RifleCursor";
|
||||
//cursoraim = "Foresight";
|
||||
};
|
||||
};
|
||||
|
||||
Reference in New Issue
Block a user