mirror of
https://github.com/edubart/otclient.git
synced 2025-10-19 05:53:26 +02:00
Compilation for MSVC2013, thanks @dalkon
OTclient now compiles in "Microsoft Visual Studio 2013 Express for Windows Desktop" All the needed libraries you can download at https://www.dropbox.com/s/2yfb1c763io8efy/otclient-msvc13-libs.zip NOTE: You have to change VC++ Directories to the properly directories NOTE: Latested MSVC 2013 or greated is required
This commit is contained in:
@@ -351,17 +351,10 @@ 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)
|
||||
m_zoneFlags = defaultZoneFlags;
|
||||
m_zoneFlags = TILESTATE_HOUSE | TILESTATE_PROTECTIONZONE;
|
||||
}
|
||||
|
||||
void Map::setZoneColor(tileflags_t zone, const Color& color)
|
||||
|
Reference in New Issue
Block a user