RHS Feedback - GREF
View Issue Details
0003189GREF[All Projects] Generalpublic2017-04-05 11:082017-04-05 14:20
rebelvg 
da12thMonkey 
noneminoralways
resolvedfixed 
 
0.4.3 
0003189: CowsSlot compatibility issue
GREF addon overwrites CowsSlot class in the CfgWeapons breaking some inheritance in other mods. For example, scopes on CUP's RPG7 stop to show up (they actually work, but model of the scope is not showing up).

To fix this I had to create a patch that adds this.
class CowsSlot;
class CfgWeapons {
    class CowsSlot: CowsSlot {};
};

It happens because in rhsgref_c_weapons you add class CowsSlot; under the CfgWeapons scope. In vanilla there's no CowsSlot under CfgWeapons scope, so that line creates this class breaking other mods depending on CowsSlot in the upper scope.
No tags attached.
Issue History
2017-04-05 11:08rebelvgNew Issue
2017-04-05 14:20da12thMonkeyStatusnew => resolved
2017-04-05 14:20da12thMonkeyFixed in Version => 0.4.3
2017-04-05 14:20da12thMonkeyResolutionopen => fixed
2017-04-05 14:20da12thMonkeyAssigned To => da12thMonkey

There are no notes attached to this issue.