SUPERNOVA: Fix usage of uninitialized variables
This commit is contained in:
parent
3f2c0673e4
commit
c8c6eeb974
1 changed files with 4 additions and 0 deletions
|
@ -313,6 +313,10 @@ void GameManager::initState() {
|
||||||
_processInput = false;
|
_processInput = false;
|
||||||
_guiEnabled = true;
|
_guiEnabled = true;
|
||||||
_animationEnabled = true;
|
_animationEnabled = true;
|
||||||
|
_mouseClicked = false;
|
||||||
|
_keyPressed = false;
|
||||||
|
_mouseX = -1;
|
||||||
|
_mouseY = -1;
|
||||||
_mouseField = -1;
|
_mouseField = -1;
|
||||||
_inventoryScroll = 0;
|
_inventoryScroll = 0;
|
||||||
_oldTime = 0;
|
_oldTime = 0;
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue