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

View File

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