Skip to content

Commit

Permalink
Fixed broken map spots in PDA (#693)
Browse files Browse the repository at this point in the history
Was broken in 13bdd4e
  • Loading branch information
Masterkatze authored Dec 2, 2020
1 parent e4b19a3 commit 6a26325
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 5 deletions.
4 changes: 2 additions & 2 deletions src/xrGame/ui/UIMap.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -438,7 +438,7 @@ void CUILevelMap::Draw()
inherited::Draw();
}

void CUILevelMap::Init_internal(const shared_str& name, CInifile& pLtx, const shared_str& sect_name, LPCSTR sh_name)
void CUILevelMap::Init_internal(const shared_str& name, const CInifile& pLtx, const shared_str& sect_name, LPCSTR sh_name)
{
inherited::Init_internal(name, pLtx, sect_name, sh_name);
Fvector4 tmp = pGameIni->r_fvector4(MapName(), "global_rect");
Expand Down Expand Up @@ -574,7 +574,7 @@ CUIMiniMap::CUIMiniMap()

CUIMiniMap::~CUIMiniMap() {}

void CUIMiniMap::Init_internal(const shared_str& name, CInifile& pLtx, const shared_str& sect_name, LPCSTR sh_name)
void CUIMiniMap::Init_internal(const shared_str& name, const CInifile& pLtx, const shared_str& sect_name, LPCSTR sh_name)
{
inherited::Init_internal(name, pLtx, sect_name, sh_name);
CUIStatic::SetTextureColor(0x7fffffff);
Expand Down
6 changes: 3 additions & 3 deletions src/xrGame/ui/UIMap.h
Original file line number Diff line number Diff line change
Expand Up @@ -100,7 +100,7 @@ class CUIGlobalMap : public CUICustomMap
void Initialize();

protected:
virtual void Init_internal(const shared_str& name, const CInifile& pLtx, const shared_str& sect_name, LPCSTR sh_name);
void Init_internal(const shared_str& name, const CInifile& pLtx, const shared_str& sect_name, LPCSTR sh_name) override;
};

class CUILevelMap : public CUICustomMap
Expand All @@ -127,7 +127,7 @@ class CUILevelMap : public CUICustomMap

protected:
virtual void UpdateSpots();
virtual void Init_internal(const shared_str& name, CInifile& pLtx, const shared_str& sect_name, LPCSTR sh_name);
void Init_internal(const shared_str& name, const CInifile& pLtx, const shared_str& sect_name, LPCSTR sh_name) override;
};

// Rounded by default
Expand All @@ -146,5 +146,5 @@ class CUIMiniMap : public CUICustomMap

protected:
virtual void UpdateSpots();
virtual void Init_internal(const shared_str& name, CInifile& pLtx, const shared_str& sect_name, LPCSTR sh_name);
void Init_internal(const shared_str& name, const CInifile& pLtx, const shared_str& sect_name, LPCSTR sh_name) override;
};

0 comments on commit 6a26325

Please sign in to comment.