From 006cc1797a749d810b0a73c8a6b53bd1f5f6178e Mon Sep 17 00:00:00 2001 From: Gacko Date: Sun, 23 Dec 2012 18:04:42 +0100 Subject: Core: Fix warning MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit boss_sindragosa.cpp:235: warning: unused parameter ‘killer’ --- src/server/scripts/Northrend/IcecrownCitadel/boss_sindragosa.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'src') diff --git a/src/server/scripts/Northrend/IcecrownCitadel/boss_sindragosa.cpp b/src/server/scripts/Northrend/IcecrownCitadel/boss_sindragosa.cpp index 8bdef30a711..ee915fb6ee8 100644 --- a/src/server/scripts/Northrend/IcecrownCitadel/boss_sindragosa.cpp +++ b/src/server/scripts/Northrend/IcecrownCitadel/boss_sindragosa.cpp @@ -232,7 +232,7 @@ class boss_sindragosa : public CreatureScript } } - void JustDied(Unit* killer) + void JustDied(Unit* /* killer */) { _JustDied(); Talk(SAY_DEATH); -- cgit v1.2.3 From a0ad8f7a467319fabad2cbf5e937ed1734143262 Mon Sep 17 00:00:00 2001 From: Subv Date: Sun, 23 Dec 2012 12:39:51 -0500 Subject: Core/Entities: Also send MSG_MOVE_TELEPORT to the player --- src/server/game/Entities/Unit/Unit.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'src') diff --git a/src/server/game/Entities/Unit/Unit.cpp b/src/server/game/Entities/Unit/Unit.cpp index d44dc6ff235..86b0e60e294 100644 --- a/src/server/game/Entities/Unit/Unit.cpp +++ b/src/server/game/Entities/Unit/Unit.cpp @@ -17340,7 +17340,7 @@ void Unit::SendTeleportPacket(Position& oldPos) if (GetTypeId() == TYPEID_PLAYER) Relocate(&oldPos); - SendMessageToSet(&data2, false); + SendMessageToSet(&data2, true); } bool Unit::UpdatePosition(float x, float y, float z, float orientation, bool teleport) -- cgit v1.2.3