Planet
navi homePPSaboutscreenshotsdownloaddevelopmentforum

Ignore:
Timestamp:
Sep 8, 2015, 10:47:36 PM (5 years ago)
Author:
landauf
Message:

not sure why Level was synchronized in Scene, but it doesn't seem to be necessary anymore

File:
1 edited

Legend:

Unmodified
Added
Removed
  • code/branches/core7/src/libraries/core/BaseObject.h

    r10555 r10570  
    161161            virtual void changedGametype() {}
    162162
    163             inline void setLevel(const StrongPtr<Level>& level)
    164             {
    165                 if (level != this->level_)
    166                 {
    167                     this->level_ = level;
    168                     this->changedLevel();
    169                 }
    170             }
     163            inline void setLevel(const StrongPtr<Level>& level) { this->level_ = level; }
    171164            inline const StrongPtr<Level>& getLevel() const { return this->level_; }
    172             virtual void changedLevel() {}
    173165
    174166            void addEventSource(BaseObject* source, const std::string& state);
Note: See TracChangeset for help on using the changeset viewer.