diff --git a/apps/openmw/mwbase/world.hpp b/apps/openmw/mwbase/world.hpp index b37d2ce2e..1ad1b37e7 100644 --- a/apps/openmw/mwbase/world.hpp +++ b/apps/openmw/mwbase/world.hpp @@ -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 */ diff --git a/apps/openmw/mwmp/LocalPlayer.cpp b/apps/openmw/mwmp/LocalPlayer.cpp index bee4ea01b..cfafe2e7e 100644 --- a/apps/openmw/mwmp/LocalPlayer.cpp +++ b/apps/openmw/mwmp/LocalPlayer.cpp @@ -1114,7 +1114,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); } } diff --git a/apps/openmw/mwworld/worldimp.hpp b/apps/openmw/mwworld/worldimp.hpp index 6b7c373bc..a8deea784 100644 --- a/apps/openmw/mwworld/worldimp.hpp +++ b/apps/openmw/mwworld/worldimp.hpp @@ -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 */