Planet
navi homePPSaboutscreenshotsdownloaddevelopmentforum

Ignore:
Timestamp:
Nov 12, 2009, 11:23:33 AM (14 years ago)
Author:
rgrieder
Message:

Forgot to set the internal activity properties of the GameStates.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • code/branches/menu/src/libraries/core/Game.cc

    r5929 r6047  
    584584
    585585        shared_ptr<GameState> state = this->getState(name);
    586         state->activate();
     586        state->activateInternal();
    587587        if (!this->loadedStates_.empty())
    588588            this->loadedStates_.back()->activity_.topState = false;
     
    603603            if (!this->loadedStates_.empty())
    604604                this->loadedStates_.back()->activity_.topState = true;
    605             state->deactivate();
     605            state->deactivateInternal();
    606606        }
    607607        catch (...)
Note: See TracChangeset for help on using the changeset viewer.