minimap fix for 1066

git-svn-id: https://unknownworlds.svn.cloudforge.com/ns1@203 67975925-1194-0748-b3d5-c16f83f1a3a1
This commit is contained in:
puzl 2005-06-21 12:25:44 +00:00
parent 7e307af9d5
commit 478306c2bc
3 changed files with 413 additions and 407 deletions

View File

@ -2563,6 +2563,9 @@ void AvHHud::ResetGame(bool inMapChanged)
}
}
// puzl: 1066 reset overview map on game restart
gHUD.GetOverviewMap().Clear();
AvHParticleSystemManager::Instance()->Reset();
this->mTechSlotManager.Clear();

View File

@ -78,6 +78,8 @@ void AvHOverviewMap::Init()
this->mMiniMapSprite = 0;
this->mReticleSprite = 0;
// puzl: 1066 reset overview
this->mLastMinimapName = "";
mLastUpdateTime = 0;
}

View File

@ -75,7 +75,8 @@ protected:
AvHUser3 mUser3;
AvHTeamNumber mTeam;
// puzl: 1066 the name of the last minimap we loaded
string mLastMinimapName;
private:
void WorldToMiniMapCoords(const DrawInfo& inDrawInfo, float& x, float& y);