mirror of
https://github.com/libretro/scummvm.git
synced 2025-02-13 07:14:59 +00:00
TITANIC: Ignore Ctrl+C key until actually in-game
This commit is contained in:
parent
2df37f4eb0
commit
388420c84a
@ -336,8 +336,10 @@ void CMainGameWindow::keyDown(Common::KeyState keyState) {
|
||||
|
||||
} else if (keyState.keycode == Common::KEYCODE_c && (keyState.flags & Common::KBD_CTRL)) {
|
||||
// Cheat action
|
||||
CViewItem *newView = _project->parseView("Cheat Room.Node 1.Cheat Rooms View");
|
||||
_gameManager->_gameState.changeView(newView, nullptr);
|
||||
if (_project && g_vm->canLoadGameStateCurrently()) {
|
||||
CViewItem *newView = _project->parseView("Cheat Room.Node 1.Cheat Rooms View");
|
||||
_gameManager->_gameState.changeView(newView, nullptr);
|
||||
}
|
||||
|
||||
} else if (_inputAllowed) {
|
||||
_gameManager->_inputTranslator.keyDown(keyState);
|
||||
|
Loading…
x
Reference in New Issue
Block a user