mirror of
https://github.com/ZDoom/raze-gles.git
synced 2024-12-29 04:50:42 +00:00
- Blood: Add extra call to inputState.ClearAllInput()
in StartLevel()
.
This commit is contained in:
parent
e078ea6ebd
commit
8690c633d8
5 changed files with 5 additions and 4 deletions
|
@ -99,6 +99,7 @@ void StartLevel(MapRecord* level)
|
||||||
gFrameClock = 0;
|
gFrameClock = 0;
|
||||||
STAT_Update(0);
|
STAT_Update(0);
|
||||||
EndLevel();
|
EndLevel();
|
||||||
|
inputState.ClearAllInput();
|
||||||
currentLevel = level;
|
currentLevel = level;
|
||||||
|
|
||||||
if (gGameOptions.nGameType == 0)
|
if (gGameOptions.nGameType == 0)
|
||||||
|
|
|
@ -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.
|
||||||
//
|
//
|
||||||
//---------------------------------------------------------------------------
|
//---------------------------------------------------------------------------
|
||||||
|
|
||||||
|
|
|
@ -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.
|
||||||
//
|
//
|
||||||
//---------------------------------------------------------------------------
|
//---------------------------------------------------------------------------
|
||||||
|
|
||||||
|
|
|
@ -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.
|
||||||
//
|
//
|
||||||
//---------------------------------------------------------------------------
|
//---------------------------------------------------------------------------
|
||||||
|
|
||||||
|
|
|
@ -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.
|
||||||
//
|
//
|
||||||
//---------------------------------------------------------------------------
|
//---------------------------------------------------------------------------
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue