mirror of
https://github.com/glest/glest-source.git
synced 2025-08-22 07:52:51 +02:00
fixed missing initialisations found by coverity scan
Coverity CID 1197086
This commit is contained in:
@@ -191,11 +191,15 @@ 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;
|
||||||
lastMasterServerGameStatsDump = 0;
|
playerIndexDisconnect=0;
|
||||||
totalRenderFps = 0;
|
lastMasterServerGameStatsDump=0;
|
||||||
lastMaxUnitCalcTime = 0;
|
highlightCellTexture=NULL;
|
||||||
renderExtraTeamColor = 0;
|
totalRenderFps =0;
|
||||||
|
lastMaxUnitCalcTime =0;
|
||||||
|
renderExtraTeamColor =0;
|
||||||
|
|
||||||
mouseMoved= false;
|
mouseMoved= false;
|
||||||
quitTriggeredIndicator = false;
|
quitTriggeredIndicator = false;
|
||||||
@@ -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;
|
||||||
|
Reference in New Issue
Block a user