Scripts/Eye of Eternity: Remove some uneeded check and last to do that is uneeded after last GO changes

* also repair some broken GO data for 3.3.5a.
This commit is contained in:
Trista
2013-03-09 05:23:50 +02:00
parent ed378ad63c
commit 8e44b2d4a6
3 changed files with 3 additions and 7 deletions

View File

@@ -0,0 +1,2 @@
-- Update some gameobject data that is correct in WDB, but parsed wrong for some reason
UPDATE `gameobject_template` SET `faction`=35,`data17`=1,`data18`=0 WHERE `entry`=193908;

View File

@@ -19,11 +19,6 @@
SDName: Boss Malygos
Script Data End */
/* Main problem needing most attention:
Add support for using Exit Portal while on drake which means to
find seat flag that allows casting on passenger or something that
will prevent valid target filtering. */
#include "ScriptMgr.h"
#include "ScriptedCreature.h"
#include "SpellScript.h"

View File

@@ -162,8 +162,7 @@ public:
// This fix not being able to press release button.
// Variation of this with some check needs to be implemented somewhere within core code.
// It'll stay here until someone find where and why the leak happens.
if (Player* dyingPlayer = unit->ToPlayer())
dyingPlayer->StopMoving();
dyingPlayer->StopMoving();
}
void ProcessEvent(WorldObject* /*obj*/, uint32 eventId)