Planet
navi homePPSaboutscreenshotsdownloaddevelopmentforum

Ignore:
Timestamp:
Dec 7, 2015, 4:06:37 PM (8 years ago)
Author:
gania
Message:

fix for sigsegv?

File:
1 edited

Legend:

Unmodified
Added
Removed
  • code/branches/campaignHS15/src/orxonox/controllers/ActionpointController.h

    r10935 r10946  
    246246                bool bDefaultPatrol_;
    247247                bool stop_;
    248                 static unsigned int sTicks_;     //<! a hack? I don't want action() and maneuver() to be called multiple times in a tick, so I keep
    249                                         //<! track of ticks and if current tick is "assigned" to this object, than I call maneuver()/action()
     248                static unsigned int sTicks_;    //<! a hack? I don't want action() and maneuver() to be called multiple times in a tick, so I keep
     249                                                //<! track of ticks and if current tick is "assigned" to this object, than I call maneuver()/action()
    250250                static unsigned int nextActionpointControllerId_;    //<! if level has 16 ActionpointControllers, than this variable equals to 17 after first tick
    251251                unsigned int actionpointControllerId_;   //<! integer from 0 to nextActionpointControllerId_, different for every ActionpointController in level
    252                 unsigned int ticks_;     //<! local tick counter
    253 
    254 
    255         private:
    256            
     252                unsigned int ticks_;     //<! local tick counter           
    257253    };
    258254}
Note: See TracChangeset for help on using the changeset viewer.