diff options
| -rw-r--r-- | engines/sword25/input/scummvminput.cpp | 4 | ||||
| -rw-r--r-- | engines/sword25/math/geometry.h | 2 |
2 files changed, 3 insertions, 3 deletions
diff --git a/engines/sword25/input/scummvminput.cpp b/engines/sword25/input/scummvminput.cpp index 76a7f0fe09..30d2940d73 100644 --- a/engines/sword25/input/scummvminput.cpp +++ b/engines/sword25/input/scummvminput.cpp @@ -188,8 +188,8 @@ void ScummVMInput::TestForLeftDoubleClick() { // ----------------------------------------------------------------------------- -void AlterKeyboardState(int keycode, byte newState) { - +void ScummVMInput::AlterKeyboardState(int keycode, byte newState) { + m_KeyboardState[m_CurrentState][keycode] = newState; } // ----------------------------------------------------------------------------- diff --git a/engines/sword25/math/geometry.h b/engines/sword25/math/geometry.h index 2ea02c8f35..4fee262f2e 100644 --- a/engines/sword25/math/geometry.h +++ b/engines/sword25/math/geometry.h @@ -45,7 +45,7 @@ class BS_Kernel; class BS_Geometry : public BS_Service { public: BS_Geometry(BS_Kernel *pKernel); - virtual ~BS_Geometry(); + virtual ~BS_Geometry() {} private: bool _RegisterScriptBindings(); |
