diff --git a/source/blood/src/blood.cpp b/source/blood/src/blood.cpp index dd7ca0b23..25d96ff29 100644 --- a/source/blood/src/blood.cpp +++ b/source/blood/src/blood.cpp @@ -99,6 +99,7 @@ void StartLevel(MapRecord* level) gFrameClock = 0; STAT_Update(0); EndLevel(); + inputState.ClearAllInput(); currentLevel = level; if (gGameOptions.nGameType == 0) diff --git a/source/blood/src/controls.cpp b/source/blood/src/controls.cpp index e365cd850..41c2d59e5 100644 --- a/source/blood/src/controls.cpp +++ b/source/blood/src/controls.cpp @@ -172,7 +172,7 @@ void GameInterface::GetInput(InputPacket* packet, ControlInfo* const hidInput) //--------------------------------------------------------------------------- // -// This is called from ImputState::ClearAllInput and resets all static state being used here. +// This is called from InputState::ClearAllInput and resets all static state being used here. // //--------------------------------------------------------------------------- diff --git a/source/exhumed/src/input.cpp b/source/exhumed/src/input.cpp index 2df7586a3..bef919f6f 100644 --- a/source/exhumed/src/input.cpp +++ b/source/exhumed/src/input.cpp @@ -234,7 +234,7 @@ void GameInterface::GetInput(InputPacket* packet, ControlInfo* const hidInput) //--------------------------------------------------------------------------- // -// This is called from ImputState::ClearAllInput and resets all static state being used here. +// This is called from InputState::ClearAllInput and resets all static state being used here. // //--------------------------------------------------------------------------- diff --git a/source/games/duke/src/input.cpp b/source/games/duke/src/input.cpp index 9dd2d17c7..9a1fa251b 100644 --- a/source/games/duke/src/input.cpp +++ b/source/games/duke/src/input.cpp @@ -1062,7 +1062,7 @@ void GameInterface::GetInput(InputPacket* packet, ControlInfo* const hidInput) //--------------------------------------------------------------------------- // -// This is called from ImputState::ClearAllInput and resets all static state being used here. +// This is called from InputState::ClearAllInput and resets all static state being used here. // //--------------------------------------------------------------------------- diff --git a/source/sw/src/input.cpp b/source/sw/src/input.cpp index 0dce53998..348758ce2 100644 --- a/source/sw/src/input.cpp +++ b/source/sw/src/input.cpp @@ -346,7 +346,7 @@ void GameInterface::GetInput(InputPacket *packet, ControlInfo* const hidInput) //--------------------------------------------------------------------------- // -// This is called from ImputState::ClearAllInput and resets all static state being used here. +// This is called from InputState::ClearAllInput and resets all static state being used here. // //---------------------------------------------------------------------------