Skip to content

Commit

Permalink
fix: cmake build
Browse files Browse the repository at this point in the history
  • Loading branch information
phacUFPE committed Nov 25, 2024
1 parent 45acebc commit 009278e
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 5 deletions.
2 changes: 0 additions & 2 deletions source/selection.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -140,7 +140,6 @@ void Selection::add(const Tile* tile, SpawnNpc* spawnNpc) {
void Selection::add(const Tile* tile, const std::vector<Monster*> &monsters) {
ASSERT(subsession);
ASSERT(tile);
ASSERT(monster);

// Make a copy of the tile with the monsters selected
for (const auto monster : monsters) {
Expand Down Expand Up @@ -249,7 +248,6 @@ void Selection::remove(Tile* tile, SpawnNpc* spawnNpc) {
void Selection::remove(Tile* tile, const std::vector<Monster*> &monsters) {
ASSERT(subsession);
ASSERT(tile);
ASSERT(monster);

std::vector<Monster*> selectedMonsters;
for (const auto monster : monsters) {
Expand Down
6 changes: 3 additions & 3 deletions vcproj/Project/RME.vcxproj
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
<?xml version="1.0" encoding="utf-8"?>
<?xml version="1.0" encoding="utf-8"?>
<Project DefaultTargets="Build" ToolsVersion="12.0" xmlns="http://schemas.microsoft.com/developer/msbuild/2003">
<ItemGroup Label="ProjectConfigurations">
<ProjectConfiguration Include="Debug|Win32">
Expand Down Expand Up @@ -110,7 +110,7 @@
<Optimization>Disabled</Optimization>
<AdditionalIncludeDirectories>%(AdditionalIncludeDirectories)</AdditionalIncludeDirectories>
<PreprocessorDefinitions>WIN32;_CRTDBG_MAP_ALLOC;__DEBUG__;WXUSINGDLL;wxMSVC_VERSION_AUTO;__EXPERIMENTAL__;LIVE_SERVER;%(PreprocessorDefinitions)</PreprocessorDefinitions>
<MinimalRebuild>true</MinimalRebuild>
<MinimalRebuild>false</MinimalRebuild>
<BasicRuntimeChecks>EnableFastChecks</BasicRuntimeChecks>
<RuntimeLibrary>MultiThreadedDebugDLL</RuntimeLibrary>
<PrecompiledHeader>Use</PrecompiledHeader>
Expand Down Expand Up @@ -458,4 +458,4 @@
<Import Project="$(VCTargetsPath)\Microsoft.Cpp.targets" />
<ImportGroup Label="ExtensionTargets">
</ImportGroup>
</Project>
</Project>

0 comments on commit 009278e

Please sign in to comment.