This commit is contained in:
parent
ff21bdcb8d
commit
43b93b2431
4 changed files with 37 additions and 22 deletions
|
@ -139,10 +139,24 @@ void GameState::render()
|
|||
/*****************************************************************************/
|
||||
/*****************************************************************************/
|
||||
/*****************************************************************************/
|
||||
// Define this to make the game go to the scene selecter after every scene
|
||||
//#define _ALWAYS_GO_BACK_TO_THE_SCENE_SELECTER_
|
||||
|
||||
#ifdef _ALWAYS_GO_BACK_TO_THE_SCENE_SELECTER_
|
||||
#include "paul\scenesel.h"
|
||||
#endif
|
||||
|
||||
void GameState::setNextScene( CScene *_nextScene )
|
||||
{
|
||||
ASSERT(!s_pendingScene);
|
||||
|
||||
#ifdef _ALWAYS_GO_BACK_TO_THE_SCENE_SELECTER_
|
||||
if(s_currentScene!=&SceneSelector)
|
||||
{
|
||||
_nextScene=&SceneSelector;
|
||||
}
|
||||
#endif
|
||||
|
||||
s_pendingScene=_nextScene;
|
||||
}
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue