mirror of
https://github.com/ENSL/NS.git
synced 2025-03-21 01:41:29 +00:00
Mantis: 1112
o Reverted the state variable and changed the protection around show map. git-svn-id: https://unknownworlds.svn.cloudforge.com/ns1@448 67975925-1194-0748-b3d5-c16f83f1a3a1
This commit is contained in:
parent
36c88e8b48
commit
53025143dc
1 changed files with 6 additions and 2 deletions
|
@ -2459,7 +2459,7 @@ void AvHHud::ResetGame(bool inMapChanged)
|
|||
this->mNumLocalSelectEvents = 0;
|
||||
// Removed to allow map to be shown before gamestart.
|
||||
// The map-mode will be re-set by the Gamestate messages anyway.
|
||||
//this->mMapMode = MAP_MODE_UNDEFINED;
|
||||
this->mMapMode = MAP_MODE_UNDEFINED;
|
||||
this->mInTopDownMode = false;
|
||||
this->mLeftMouseStarted = false;
|
||||
this->mLeftMouseEnded = false;
|
||||
|
@ -6729,7 +6729,11 @@ void AvHHud::UpdateEnableState(PieMenu* inMenu)
|
|||
|
||||
void AvHHud::ShowMap()
|
||||
{
|
||||
if (!sShowMap && gHUD.GetIsNSMode())
|
||||
bool isNsMode=false;
|
||||
if ( strnicmp(gHUD.GetMapName().c_str(), "ns_", 3) == 0 )
|
||||
isNsMode=true;
|
||||
|
||||
if (!sShowMap && isNsMode )
|
||||
{
|
||||
sShowMap = true;
|
||||
gHUD.HideCrosshair();
|
||||
|
|
Loading…
Reference in a new issue