Planet
navi homePPSaboutscreenshotsdownloaddevelopmentforum

Ignore:
Timestamp:
Jan 17, 2010, 11:37:48 AM (16 years ago)
Author:
scheusso
Message:

made registerVariables always private. otherwise bad things may happen with variables registered twice or even 3 times (as has happened in ControllableEntity until now)

File:
1 edited

Legend:

Unmodified
Added
Removed
  • code/branches/network2/src/orxonox/infos/PlayerInfo.h

    r6417 r6448  
    4242            PlayerInfo(BaseObject* creator);
    4343            virtual ~PlayerInfo();
    44 
    45             void registerVariables();
    4644
    4745            virtual void changedName();
     
    9189
    9290        private:
     91            void registerVariables();
    9392            void networkcallback_changedcontrollableentityID();
    9493            void networkcallback_changedgtinfoID();
Note: See TracChangeset for help on using the changeset viewer.