- Blood: Add extra call to inputState.ClearAllInput() in StartLevel().

This commit is contained in:
Mitchell Richters 2020-09-24 00:20:40 +10:00
parent e078ea6ebd
commit 8690c633d8
5 changed files with 5 additions and 4 deletions

View file

@ -99,6 +99,7 @@ void StartLevel(MapRecord* level)
gFrameClock = 0;
STAT_Update(0);
EndLevel();
inputState.ClearAllInput();
currentLevel = level;
if (gGameOptions.nGameType == 0)

View file

@ -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.
//
//---------------------------------------------------------------------------

View file

@ -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.
//
//---------------------------------------------------------------------------

View file

@ -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.
//
//---------------------------------------------------------------------------

View file

@ -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.
//
//---------------------------------------------------------------------------