diff --git a/saco/net/netgame.cpp b/saco/net/netgame.cpp index d9b0b27..09523a0 100644 --- a/saco/net/netgame.cpp +++ b/saco/net/netgame.cpp @@ -114,6 +114,7 @@ DWORD CNetGame::GetTime() //----------------------------------------------------------- // Puts a personal marker using any of the radar icons on the map +// MATCH void CNetGame::SetMapIcon(BYTE byteIndex, float fX, float fY, float fZ, BYTE byteIcon, DWORD dwColor, int iStyle) { if (byteIndex >= 100) return; @@ -125,16 +126,10 @@ void CNetGame::SetMapIcon(BYTE byteIndex, float fX, float fY, float fZ, BYTE byt //----------------------------------------------------------- // Removes the Map Icon -// MATCH -void CNetGame::DisableMapIcon(BYTE byteIndex) -{ - if (byteIndex >= 100) return; - ScriptCommand(&disable_marker, m_dwMapIcon[byteIndex]); - m_dwMapIcon[byteIndex] = NULL; -} //---------------------------------------------------- +// MATCH void CNetGame::ResetMapIcons() { BYTE i; diff --git a/saco/net/netgame.h b/saco/net/netgame.h index efdf72e..2aa5e01 100644 --- a/saco/net/netgame.h +++ b/saco/net/netgame.h @@ -103,7 +103,12 @@ public: void ResetMapIcons(); void SetMapIcon(BYTE byteIndex, float fX, float fY, float fZ, BYTE byteIcon, DWORD dwColor, int iStyle); - void DisableMapIcon(BYTE byteIndex); // .text:10008FB0 + // MATCH + inline void DisableMapIcon(BYTE byteIndex) { // .text:10008FB0 + if (byteIndex >= 100) return; + ScriptCommand(&disable_marker, m_dwMapIcon[byteIndex]); + m_dwMapIcon[byteIndex] = NULL; + }; CMenuPool * GetMenuPool() { return m_pPools->pMenuPool; }; // .text:100084F0 void Packet_NoFreeIncomingConnections(Packet *p); // .text:10008DB0