*Ahn'Khalet: Partial Herald Volazj script, by Tartalo

*Check for null pointers in SelectTargetHelper, thanks to Spp
*Remove rank aura from last battle (possibly there due to crash), by Spp

--HG--
branch : trunk
This commit is contained in:
maximius committed 2009-09-20 19:07:53 -07:00
1 parent 6c90f1f89a
commit 771341992f
6 files changed
+57 -29

No files matched your search

+3
View File
@@ -296,6 +296,9 @@ bool OPvPWintergrasp::SetupOutdoorPvP()
for(int i = 0; i < WG_REWARD_EVENT_MAX; ++i)
m_customHonorReward[i] = sWorld.getConfig(CONFIG_OUTDOORPVP_WINTERGRASP_CUSTOM_HONOR_0 + i);
// if server crashed while in battle there could be players with rank aura from last battle
CharacterDatabase.PExecute("DELETE FROM character_aura WHERE spell IN (%u,%u,%u)", SPELL_RECRUIT, SPELL_CORPORAL, SPELL_LIEUTENANT);
RegisterZone(ZONE_WINTERGRASP);
return true;
}