remove some hardcoded screen names
This commit is contained in:
1 parent
4b2da16b42
commit
8a5bf17203
8 files changed
+24
-8
No files matched your search
@@ -5,6 +5,8 @@
|
||||
#include "ScreenTestFonts.h"
|
||||
#include "ScreenManager.h"
|
||||
#include "GameSoundManager.h"
|
||||
#include "ThemeManager.h"
|
||||
#include "CommonMetrics.h"
|
||||
|
||||
|
||||
ScreenTest::~ScreenTest()
|
||||
@@ -53,7 +55,7 @@ void ScreenTest::Input( const DeviceInput& DeviceI, const InputEventType type, c
|
||||
if( DeviceI.button == KEY_ESC )
|
||||
{
|
||||
if( type != IET_FIRST_PRESS ) return;
|
||||
SCREENMAN->SetNewScreen( "ScreenTitleBranch" );
|
||||
SCREENMAN->SetNewScreen( INITIAL_SCREEN );
|
||||
return;
|
||||
}
|
||||
}
|
||||
|
||||
Reference in new issue
Block a user