mirror of
https://github.com/edubart/otclient.git
synced 2025-12-21 16:07:12 +01:00
Visual Studio 2013 Compatibility
This commit is contained in:
@@ -351,8 +351,13 @@ void Map::setShowZone(tileflags_t zone, bool show)
|
||||
|
||||
void Map::setShowZones(bool show)
|
||||
{
|
||||
#ifdef _MSC_VER
|
||||
static const uint32 defaultZoneFlags
|
||||
= TILESTATE_HOUSE | TILESTATE_PROTECTIONZONE;
|
||||
#else
|
||||
static constexpr uint32 defaultZoneFlags
|
||||
= TILESTATE_HOUSE | TILESTATE_PROTECTIONZONE;
|
||||
#endif
|
||||
if(!show)
|
||||
m_zoneFlags = 0;
|
||||
else if(m_zoneFlags == 0)
|
||||
|
||||
Reference in New Issue
Block a user