aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorSubv2112 <s.v.h21@hotmail.com>2012-02-04 19:55:07 -0500
committerSubv2112 <s.v.h21@hotmail.com>2012-02-04 19:55:07 -0500
commit6896f82062096f532f098dc46da434f3a9e42100 (patch)
tree56fbf0ac651da7a0833d81bb6fa3f52e1d60ade3
parent0e2ae5029ab2051e763fe1507eaf49081d5dcbd0 (diff)
SQL: Delete before insert in previous sql
-rw-r--r--sql/updates/world/2012_02_04_00_world_creature.sql1
1 files changed, 1 insertions, 0 deletions
diff --git a/sql/updates/world/2012_02_04_00_world_creature.sql b/sql/updates/world/2012_02_04_00_world_creature.sql
index c285c094adc..a9b77bf6098 100644
--- a/sql/updates/world/2012_02_04_00_world_creature.sql
+++ b/sql/updates/world/2012_02_04_00_world_creature.sql
@@ -1,4 +1,5 @@
-- Adds missing spirit healer in Desolace
SET @GUID := 40269;
+DELETE FROM `creature` WHERE `guid`=@GUID AND `entry`=6491;
INSERT INTO `creature` (`guid`, `id`, `map`, `spawnMask`, `phaseMask`, `modelid`, `equipment_id`, `position_x`, `position_y`, `position_z`, `orientation`, `spawntimesecs`, `spawndist`, `currentwaypoint`, `curhealth`, `curmana`, `MovementType`, `npcflag`, `unit_flags`, `dynamicflags`) VALUES
(@GUID, 6491, 1, 1, 1, 0, 0, -452.182, 2513.69, 92.8852, 6.1809, 300, 0, 0, 4120, 0, 0, 0, 0, 0);