소스 검색

MG and Super Saber Fixed

Sakke 3 년 전
부모
커밋
cf3d20cfec
2개의 변경된 파일5개의 추가작업 그리고 5개의 파일을 삭제
  1. 1 1
      addons/RD501_Main/config_macros.hpp
  2. 4 4
      addons/RD501_Vehicles/land/saber/config.cpp

+ 1 - 1
addons/RD501_Main/config_macros.hpp

@@ -103,7 +103,7 @@
 
 	#define macro_new_weapon_nofam(name) CONCAT_3(MODNAME,_,name)
 
-	#define macro_new_ammo(name) CONCAT_3(MODNAME,_,name,_ammo)
+	#define macro_new_ammo(name) CONCAT_4(MODNAME,_,name,_ammo)
 
 	#define macro_new_mag(name,count) CONCAT_6(MODNAME,_,name,_x,count,_mag)
 

+ 4 - 4
addons/RD501_Vehicles/land/saber/config.cpp

@@ -470,7 +470,7 @@ class CfgWeapons
 class CfgMagazines
 {
 	class 3AS_300Rnd_SabreMG_Mag;
-	class 3AS_10Rnd_Sabre_mag;
+	class 3AS_50Rnd_Sabre_mag;
 	class 3as_saber_80Rnd_autocannon_30mm_mag;
 	class 3as_25rnd_Sabre_Super_Mag;
 	class 4Rnd_120mm_LG_cannon_missiles;
@@ -491,15 +491,15 @@ class CfgMagazines
 		count=100;
 		ammo=MACRO_QUOTE(macro_new_ammo(saber_auto));
 	};
-	class macro_new_mag(saber_main,10): 3AS_10Rnd_Sabre_mag
+	class macro_new_mag(saber_main,10): 3AS_50Rnd_Sabre_mag
 	{
 		displayNameShort="HEAT";
 		ammo=MACRO_QUOTE(macro_new_ammo(saber_main));
-
+		count = 10;
 	};
 	class macro_new_mag(saber_super_3as,25): 3as_25rnd_Sabre_Super_Mag
 	{
-		ammo=macro_new_ammo(saber_super_3as));
+		ammo= MACRO_QUOTE(macro_new_ammo(saber_super_3as));
 	};
 	class macro_new_mag(saber_recon_missile_he,4) :4Rnd_120mm_LG_cannon_missiles
 	{