From de0fe06bc89e045d02ab5ec06f5520d5b854bdbb Mon Sep 17 00:00:00 2001 From: Areloch Date: Sat, 30 Apr 2016 23:34:54 -0500 Subject: [PATCH] Makes netObjects inherit off simGroup as opposed to simObject so that just about any object can function as a parent with children. --- Engine/source/sim/netObject.h | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/Engine/source/sim/netObject.h b/Engine/source/sim/netObject.h index c6a9ca99e..ced8a2cf3 100644 --- a/Engine/source/sim/netObject.h +++ b/Engine/source/sim/netObject.h @@ -217,7 +217,7 @@ struct GhostInfo; /// the documentation on AbstractClassRep for more details. /// /// @nosubgrouping -class NetObject: public SimObject +class NetObject : public SimGroup { // The Ghost Manager needs read/write access friend class NetConnection; @@ -228,7 +228,7 @@ class NetObject: public SimObject friend class GhostAlwaysObjectEvent; private: - typedef SimObject Parent; + typedef SimGroup Parent; /// Mask indicating which states are dirty and need to be retransmitted on this /// object.