From 093da9b66f4e03940f81098d998523b594550c39 Mon Sep 17 00:00:00 2001 From: ulteq Date: Tue, 19 May 2015 12:37:14 +0200 Subject: [PATCH] Fixed incorrect class inheritance --- optionals/compat_bwa3/CfgWeapons.hpp | 18 +++++++++--------- 1 file changed, 9 insertions(+), 9 deletions(-) diff --git a/optionals/compat_bwa3/CfgWeapons.hpp b/optionals/compat_bwa3/CfgWeapons.hpp index 3b7b4a42d2..5c45c1e149 100644 --- a/optionals/compat_bwa3/CfgWeapons.hpp +++ b/optionals/compat_bwa3/CfgWeapons.hpp @@ -54,10 +54,10 @@ class CfgWeapons ACE_barrelLength=736.7; }; - class ItemCore; + class optic_Hamr; class InventoryOpticsItem_Base_F; - class BWA3_optic_ZO4x30 : ItemCore { + class BWA3_optic_ZO4x30 : optic_Hamr { ACE_ScopeAdjust_Vertical[] = { -10, 10 }; ACE_ScopeAdjust_Horizontal[] = { -10, 10 }; ACE_ScopeAdjust_Increment = 0.2; @@ -70,7 +70,7 @@ class CfgWeapons }; }; }; - class BWA3_optic_ZO4x30_NSV : ItemCore { + class BWA3_optic_ZO4x30_NSV : optic_Hamr { ACE_ScopeAdjust_Vertical[] = { -10, 10 }; ACE_ScopeAdjust_Horizontal[] = { -10, 10 }; ACE_ScopeAdjust_Increment = 0.2; @@ -83,7 +83,7 @@ class CfgWeapons }; }; }; - class BWA3_optic_ZO4x30_IRV : ItemCore { + class BWA3_optic_ZO4x30_IRV : optic_Hamr { ACE_ScopeAdjust_Vertical[] = { -10, 10 }; ACE_ScopeAdjust_Horizontal[] = { -10, 10 }; ACE_ScopeAdjust_Increment = 0.2; @@ -96,7 +96,7 @@ class CfgWeapons }; }; }; - class BWA3_optic_Shortdot : ItemCore { + class BWA3_optic_Shortdot : optic_Hamr { ACE_ScopeAdjust_Vertical[] = { -0.1, 10.1 }; ACE_ScopeAdjust_Horizontal[] = { -5.1, 5.1 }; ACE_ScopeAdjust_Increment = 0.1; @@ -109,7 +109,7 @@ class CfgWeapons }; }; }; - class BWA3_optic_20x50 : ItemCore { + class BWA3_optic_20x50 : optic_Hamr { ACE_ScopeAdjust_Vertical[] = { 0, 26 }; ACE_ScopeAdjust_Horizontal[] = { -6, 6 }; ACE_ScopeAdjust_Increment = 0.1; @@ -122,7 +122,7 @@ class CfgWeapons }; }; }; - class BWA3_optic_20x50_NSV : ItemCore { + class BWA3_optic_20x50_NSV : BWA3_optic_20x50 { ACE_ScopeAdjust_Vertical[] = { 0, 26 }; ACE_ScopeAdjust_Horizontal[] = { -6, 6 }; ACE_ScopeAdjust_Increment = 0.1; @@ -135,7 +135,7 @@ class CfgWeapons }; }; }; - class BWA3_optic_24x72 : ItemCore { + class BWA3_optic_24x72 : optic_Hamr { ACE_ScopeAdjust_Vertical[] = { 0, 16 }; ACE_ScopeAdjust_Horizontal[] = { -7, 7 }; ACE_ScopeAdjust_Increment = 0.1; @@ -148,7 +148,7 @@ class CfgWeapons }; }; }; - class BWA3_optic_24x72_NSV : ItemCore { + class BWA3_optic_24x72_NSV : BWA3_optic_20x50 { ACE_ScopeAdjust_Vertical[] = { 0, 16 }; ACE_ScopeAdjust_Horizontal[] = { -7, 7 }; ACE_ScopeAdjust_Increment = 0.1;