1
0
Fork 1
mirror of https://github.com/TES3MP/openmw-tes3mp.git synced 2025-01-16 19:19:56 +00:00

Fix gcc build

This commit is contained in:
Kyle Cooley 2018-05-09 20:16:03 -04:00
parent 02c24e26ea
commit 71040659ac
4 changed files with 10 additions and 10 deletions

View file

@ -135,7 +135,7 @@ target_compile_definitions(tes3mp-server PRIVATE $<$<CONFIG:Debug>:SERVER_DEBUG>
set_property(TARGET tes3mp-server PROPERTY CXX_STANDARD 14)
if (CMAKE_CXX_COMPILER_ID STREQUAL "GNU" OR CMAKE_CXX_COMPILER_ID STREQUAL "Clang")
target_compile_options(tes3mp-server PRIVATE -Wno-ignored-qualifiers -ftemplate-depth=2048)
target_compile_options(tes3mp-server PRIVATE -Wno-ignored-qualifiers -ftemplate-depth=4096)
endif()
target_link_libraries(tes3mp-server

View file

@ -323,7 +323,7 @@ namespace MWBase
Make it possible to set the physics framerate from elsewhere
*/
virtual void World::setPhysicsFramerate(float physFramerate) = 0;
virtual void setPhysicsFramerate(float physFramerate) = 0;
/*
End of tes3mp addition
*/

View file

@ -1119,7 +1119,7 @@ void LocalPlayer::setEquipment()
else
{
// Don't try to equip an item that is already equipped
if (!ptrInventory.getSlot(slot).isEqual(it))
if (ptrInventory.getSlot(slot) != it)
ptrInventory.equip(slot, it, ptrPlayer);
}
}

View file

@ -422,7 +422,7 @@ namespace MWWorld
Make it possible to set the physics framerate from elsewhere
*/
void World::setPhysicsFramerate(float physFramerate);
void setPhysicsFramerate(float physFramerate);
/*
End of tes3mp addition
*/