Core/Misc: fixed a bunch of GCC warnings

This commit is contained in:
Ovahlord committed 2022-03-21 21:32:41 +01:00
1 parent 9c88c6ea91
commit ca9f34574d
10 files changed
+24 -26

No files matched your search

+1 -1
View File
@@ -90,7 +90,7 @@ void WorldSession::HandleQuestgiverHelloOpcode(WorldPackets::Quest::QuestGiverHe
// Stop the npc if moving
if (uint32 pause = creature->GetMovementTemplate().GetInteractionPauseTimer())
{
creature->PauseMovement(sWorld->getIntConfig(CONFIG_CREATURE_STOP_FOR_PLAYER));
creature->PauseMovement(pause);
creature->SetHomePosition(creature->GetPosition());
}