fixed missing initialisations found by coverity scan

Coverity CID 1197086
This commit is contained in:
titiger 2014-12-16 00:53:33 +01:00
parent d1df0c80d9
commit db0007d277
1 changed files with 9 additions and 4 deletions

View File

@ -191,11 +191,15 @@ void Game::resetMembers() {
GameConstants::updateFps= 40;
GameConstants::cameraFps= 100;
captureAvgTestStatus = false;
updateFpsAvgTest=0;
renderFpsAvgTest=0;
lastRenderLog2d = 0;
lastMasterServerGameStatsDump = 0;
totalRenderFps = 0;
lastMaxUnitCalcTime = 0;
renderExtraTeamColor = 0;
playerIndexDisconnect=0;
lastMasterServerGameStatsDump=0;
highlightCellTexture=NULL;
totalRenderFps =0;
lastMaxUnitCalcTime =0;
renderExtraTeamColor =0;
mouseMoved= false;
quitTriggeredIndicator = false;
@ -271,6 +275,7 @@ void Game::resetMembers() {
this->speed= 1;
showFullConsole= false;
setMarker = false;
cameraDragAllowed=false;
camLeftButtonDown=false;
camRightButtonDown=false;
camUpButtonDown=false;