Browse Source

Fixed my own stupidity

Kestrel 3 năm trước cách đây
mục cha
commit
fe2e45e0b3
2 tập tin đã thay đổi với 7 bổ sung7 xóa
  1. 1 1
      addons/RD501_Helmets/config.cpp
  2. 6 6
      addons/RD501_Helmets/mynock/config.cpp

+ 1 - 1
addons/RD501_Helmets/config.cpp

@@ -676,7 +676,7 @@ class CfgWeapons
 			};
 		};
 	};
-	class macro_new_helmet(mynock,3as_base): H_HelmetB
+	class macro_new_helmet(mynock,base_3as): H_HelmetB
 	{
 		author = "RD501";
 		scope = 2;

+ 6 - 6
addons/RD501_Helmets/mynock/config.cpp

@@ -1,17 +1,17 @@
 #define COMPONENT aviation_helmets
 #define BASEHELMNAME MODNAME##_501st_Pilot_Base
-#include "../../RD501_main/config_macros.hpp"
+#include "../../RD501_Main/config_macros.hpp"
 #include "config_macros.cpp"
 
 class CfgPatches
 {
-	class macro_patch_name(mynock_helmets)
+	class RD501_patch_mynock_helmets
 	{
-		author=DANKAUTHORS
-		addonRootClass= macro_patch_name(helmets)
+		author=DANKAUTHORS;
+		addonRootClass= RD501_patch_helmets;
 		requiredAddons[]=
 		{
-			macro_patch_name(helmets)
+			MACRO_QUOTE(RD501_patch_helmets)
 		};
 		requiredVersion=0.1;
 		units[]={};
@@ -21,7 +21,7 @@ class CfgPatches
 
 class CfgWeapons
 {
-	class macro_new_helmet(mynock,3as_base);
+	class macro_new_helmet(mynock,base_3as);
 	NEW_501_MYN_Helm_3AS(cic,CI-C,501st_Tanker_CI-C.paa)
 	NEW_501_MYN_Helm_3AS(ci,CI,501st_Tanker_CI.paa)
 	NEW_501_MYN_Helm_3AS(cmc,CM-C,501st_Tanker_CM-C.paa)