From 009278e6ee3f70f74e568ce3c8726cbbb88fa0ef Mon Sep 17 00:00:00 2001 From: Pedro Henrique Alves Cruz Date: Mon, 25 Nov 2024 02:47:54 -0300 Subject: [PATCH] fix: cmake build --- source/selection.cpp | 2 -- vcproj/Project/RME.vcxproj | 6 +++--- 2 files changed, 3 insertions(+), 5 deletions(-) diff --git a/source/selection.cpp b/source/selection.cpp index 242fba28..ac36aedd 100644 --- a/source/selection.cpp +++ b/source/selection.cpp @@ -140,7 +140,6 @@ void Selection::add(const Tile* tile, SpawnNpc* spawnNpc) { void Selection::add(const Tile* tile, const std::vector &monsters) { ASSERT(subsession); ASSERT(tile); - ASSERT(monster); // Make a copy of the tile with the monsters selected for (const auto monster : monsters) { @@ -249,7 +248,6 @@ void Selection::remove(Tile* tile, SpawnNpc* spawnNpc) { void Selection::remove(Tile* tile, const std::vector &monsters) { ASSERT(subsession); ASSERT(tile); - ASSERT(monster); std::vector selectedMonsters; for (const auto monster : monsters) { diff --git a/vcproj/Project/RME.vcxproj b/vcproj/Project/RME.vcxproj index 94a1f9b9..6b541f6d 100644 --- a/vcproj/Project/RME.vcxproj +++ b/vcproj/Project/RME.vcxproj @@ -1,4 +1,4 @@ - + @@ -110,7 +110,7 @@ Disabled %(AdditionalIncludeDirectories) WIN32;_CRTDBG_MAP_ALLOC;__DEBUG__;WXUSINGDLL;wxMSVC_VERSION_AUTO;__EXPERIMENTAL__;LIVE_SERVER;%(PreprocessorDefinitions) - true + false EnableFastChecks MultiThreadedDebugDLL Use @@ -458,4 +458,4 @@ - \ No newline at end of file +