فهرست منبع

Makes netObjects inherit off simGroup as opposed to simObject so that just about any object can function as a parent with children.

Areloch 9 سال پیش
والد
کامیت
de0fe06bc8
1فایلهای تغییر یافته به همراه2 افزوده شده و 2 حذف شده
  1. 2 2
      Engine/source/sim/netObject.h

+ 2 - 2
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.