RHS Feedback

View Revisions: Issue #2035 Back to Issue ]
Summary 0002035: SPG9 class inheritance issue
Revision 2016-03-31 17:05 by ruPaladin
Description Connected with: http://feedback.rhsmods.org/view.php?id=1662 [^]

Class rhs_SPG9_base inherited from AT_01_base_F but class Turrets (inside of class rhs_SPG9_base) inherited from class Turrets (inside of class StaticMGWeapon).

Here is the config of rhs_c_heavyweapons

How is this possible?
Revision 2016-03-31 17:05 by ruPaladin
Description Connected with: http://feedback.rhsmods.org/view.php?id=1662 [^]

Class rhs_SPG9_base inherited from AT_01_base_F but class Turrets (inside of class rhs_SPG9_base) inherited from class Turrets (inside of class StaticMGWeapon).

How is this possible?
Revision 2016-03-31 17:09 by ruPaladin
Description Connected with: http://feedback.rhsmods.org/view.php?id=1662 [^]

Class rhs_SPG9_base inherited from AT_01_base_F but class Turrets (inside of class rhs_SPG9_base) inherited from class Turrets (inside of class StaticMGWeapon, not AT_01_base_F).

How is this possible?

I have tried to break inheritance with:
class rhs_SPG9_base: StaticMGWeapon { code here };
and that solved the issue in connected ticket.


Copyright © 2000 - 2024 MantisBT Team
Powered by Mantis Bugtracker