Planet
navi homePPSaboutscreenshotsdownloaddevelopmentforum

Ignore:
Timestamp:
Aug 29, 2015, 4:23:00 PM (5 years ago)
Author:
landauf
Message:

Gametype should store a WeakPtr to GametypeInfo to avoid circular reference if GametypeInfo references back to its Gametype

File:
1 edited

Legend:

Unmodified
Added
Removed
  • code/branches/core7/src/orxonox/gametypes/Gametype.h

    r10349 r10554  
    176176            virtual void importMementoState(const std::vector<GSLevelMementoState*>& states);
    177177
    178             SmartPtr<GametypeInfo> gtinfo_;
     178            WeakPtr<GametypeInfo> gtinfo_;
    179179
    180180            bool bAutoStart_;
Note: See TracChangeset for help on using the changeset viewer.