KoffeinFlummi / AGM_Compatibility

Compatibility PBOs for AGM
Other
7 stars 2 forks source link

Fixed RHS USF Leupold Mk4 M3 Scope Inheritance #14

Closed jonpas closed 9 years ago

jonpas commented 9 years ago

Should fix #12 - might introduce issues if future RHS release scopes will inherit from it, as it will also inherit this property (but nothing else than sniper scopes should inherit from them anyways).

jonpas commented 9 years ago

Confirmed working.

jonpas commented 9 years ago

@KoffeinFlummi ?

jonpas commented 9 years ago

Can someone double check that, it seems like even RCO/ACOG scopes inherit from that class. Not sure how we can define it for only that scope then, would have to undefine it for all subclasses I guess?

jonpas commented 9 years ago

There we go, everything works perfectly for me now. RHS has some weird config, OpticsMode are only defined in the base class for the first Leupold scope, so I have to define that in the pso1_scope in the base class (I checked and only 2 Leupold scopes are using that) and then actual Scope Adjustment in the attachment's actual class.