mirror of
https://github.com/unknownworlds/NS.git
synced 2025-01-31 04:50:39 +00:00
Mantis:0001114
o Fixed a bug with the marine hud not reseting correctly git-svn-id: https://unknownworlds.svn.cloudforge.com/ns1@447 67975925-1194-0748-b3d5-c16f83f1a3a1
This commit is contained in:
parent
2db34b8792
commit
36c88e8b48
2 changed files with 9 additions and 1 deletions
|
@ -657,6 +657,10 @@ void AvHHud::ClearData()
|
||||||
|
|
||||||
this->mProgressBarDrawframe = PROGRESS_BAR_DEFAULT;
|
this->mProgressBarDrawframe = PROGRESS_BAR_DEFAULT;
|
||||||
this->mProgressBarLastDrawn = -10.0f;
|
this->mProgressBarLastDrawn = -10.0f;
|
||||||
|
|
||||||
|
this->mHasWelder=false;
|
||||||
|
this->mHasMines=false;
|
||||||
|
this->mHasGrenades=false;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
||||||
|
@ -2578,6 +2582,10 @@ void AvHHud::ResetGame(bool inMapChanged)
|
||||||
// :tankefugl
|
// :tankefugl
|
||||||
|
|
||||||
this->mProgressBarLastDrawn = -10.0f;
|
this->mProgressBarLastDrawn = -10.0f;
|
||||||
|
|
||||||
|
this->mHasGrenades=false;
|
||||||
|
this->mHasMines=false;
|
||||||
|
this->mHasWelder=false;
|
||||||
}
|
}
|
||||||
|
|
||||||
BIND_MESSAGE(SetGmma);
|
BIND_MESSAGE(SetGmma);
|
||||||
|
|
|
@ -7100,7 +7100,7 @@ void AvHPlayer::ResetEntity(void)
|
||||||
this->mNewMap = theSavedNewMap;
|
this->mNewMap = theSavedNewMap;
|
||||||
this->mDesiredNetName = theSavedDesiredNetName;
|
this->mDesiredNetName = theSavedDesiredNetName;
|
||||||
this->mClientInfoLocations = theSavedClientInfoLocations;
|
this->mClientInfoLocations = theSavedClientInfoLocations;
|
||||||
|
this->mMarineHUDUpgrades=0;
|
||||||
}
|
}
|
||||||
|
|
||||||
void AvHPlayer::ResetOverwatch()
|
void AvHPlayer::ResetOverwatch()
|
||||||
|
|
Loading…
Reference in a new issue