TWINE: fixed activating the desired keymap
This commit is contained in:
parent
f68c86eeb3
commit
ab22f50b85
1 changed files with 1 additions and 1 deletions
|
@ -55,7 +55,7 @@ static const struct KeyProperties {
|
||||||
|
|
||||||
ScopedKeyMap::ScopedKeyMap(TwinEEngine* engine, const char *id) : _engine(engine) {
|
ScopedKeyMap::ScopedKeyMap(TwinEEngine* engine, const char *id) : _engine(engine) {
|
||||||
_prevKeyMap = _engine->_input->currentKeyMap();
|
_prevKeyMap = _engine->_input->currentKeyMap();
|
||||||
_engine->_input->enableKeyMap(cutsceneKeyMapId);
|
_engine->_input->enableKeyMap(id);
|
||||||
}
|
}
|
||||||
|
|
||||||
ScopedKeyMap::~ScopedKeyMap() {
|
ScopedKeyMap::~ScopedKeyMap() {
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue