diff options
author | kwolekr <kwolekr@minetest.net> | 2015-02-02 02:01:13 -0500 |
---|---|---|
committer | kwolekr <kwolekr@minetest.net> | 2015-02-02 02:01:13 -0500 |
commit | 0118c111e8f12602b03cee8deb4c86f9b9e28cf3 (patch) | |
tree | e159f2199eb6af32e6beb7c62ce7c9001147ff27 /src/mods.cpp | |
parent | 43f102271dd3dc64b167ee305be5061976bd41d6 (diff) | |
download | minetest-0118c111e8f12602b03cee8deb4c86f9b9e28cf3.tar.gz minetest-0118c111e8f12602b03cee8deb4c86f9b9e28cf3.tar.bz2 minetest-0118c111e8f12602b03cee8deb4c86f9b9e28cf3.zip |
Fix some MSVC-specific warnings and add debug path as an MSVC directory
Diffstat (limited to 'src/mods.cpp')
-rw-r--r-- | src/mods.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/mods.cpp b/src/mods.cpp index 7d6b4f5f7..6126de7a1 100644 --- a/src/mods.cpp +++ b/src/mods.cpp @@ -240,7 +240,7 @@ void ModConfiguration::addMods(std::vector<ModSpec> new_mods) for(std::vector<ModSpec>::const_iterator it = new_mods.begin(); it != new_mods.end(); ++it){ const ModSpec &mod = *it; - if(mod.part_of_modpack != want_from_modpack) + if(mod.part_of_modpack != (bool)want_from_modpack) continue; if(existing_mods.count(mod.name) == 0){ // GOOD CASE: completely new mod. |