forked from metin-server/m2dev-client-src
Restore original clear behavior (Clear both guild marks and NPC/Warps)
This commit is contained in:
@@ -818,6 +818,12 @@ void CPythonMiniMap::SetAtlasScale(float fx, float fy)
|
||||
ComputeAtlasCenteringOffsets();
|
||||
}
|
||||
|
||||
void CPythonMiniMap::ClearAtlasMarks()
|
||||
{
|
||||
ClearAtlasMarkInfo();
|
||||
ClearGuildArea();
|
||||
}
|
||||
|
||||
bool CPythonMiniMap::LoadAtlas()
|
||||
{
|
||||
CPythonBackground& rkBG=CPythonBackground::Instance();
|
||||
@@ -863,7 +869,7 @@ bool CPythonMiniMap::LoadAtlas()
|
||||
|
||||
ComputeAtlasCenteringOffsets();
|
||||
|
||||
ClearGuildArea();
|
||||
ClearAtlasMarks();
|
||||
|
||||
if (m_bShowAtlas)
|
||||
OpenAtlasWindow();
|
||||
|
||||
@@ -83,6 +83,9 @@ class CPythonMiniMap : public CScreen, public CSingleton<CPythonMiniMap>
|
||||
void SetAtlasCenterPosition(int x, int y);
|
||||
void SetAtlasScale(float fx, float fy);
|
||||
|
||||
// Atlas Marks
|
||||
void ClearAtlasMarks();
|
||||
|
||||
// NPC List
|
||||
void ClearAtlasMarkInfo();
|
||||
void RegisterAtlasMark(BYTE byType, const char * c_szName, long lx, long ly);
|
||||
|
||||
Reference in New Issue
Block a user