Fix Crash in XT-002 (Gravity Bomb proc). Fixes issue #734.

Fix compilation warning.
Fix typo in Freya soundid.

--HG--
branch : trunk
This commit is contained in:
Trazom62
2010-03-22 14:07:08 +01:00
parent daf5ce32aa
commit 248286c08d
4 changed files with 10 additions and 3 deletions
@@ -459,7 +459,7 @@ struct boss_xt002_AI : public BossAI
uiSpawnAddTimer = TIMER_SPAWN_ADD;
if (!hardMode)
m_creature->ModifyHealth(-transferHealth);
m_creature->ModifyHealth(-((int32)transferHealth));
m_creature->RemoveFlag(UNIT_FIELD_FLAGS, UNIT_FLAG_NON_ATTACKABLE | UNIT_FLAG_NOT_SELECTABLE);
phase = 1;