*Wintergrasp: fix the bug that player is send into hall when dead near hall.

*Only revive player in the graveyard which is occupied.
*Do not allow to use titan relic if hall gate is not destroyed.

--HG--
branch : trunk
This commit is contained in:
megamage
2009-08-31 13:43:54 -05:00
parent 6a50516174
commit a4f6659f7a
6 changed files with 76 additions and 19 deletions
+3 -1
View File
@@ -561,9 +561,11 @@ enum Team
//TEAM_HORDE_FORCES = 892,
//TEAM_SANCTUARY = 936,
//TEAM_OUTLAND = 980,
//TEAM_OTHER = 0, // if ReputationListId > 0 && Flags != FACTION_FLAG_TEAM_HEADER
TEAM_OTHER = 0, // if ReputationListId > 0 && Flags != FACTION_FLAG_TEAM_HEADER
};
const Team TeamId2Team[3] = {ALLIANCE, HORDE, TEAM_OTHER};
enum SpellEffects
{
SPELL_EFFECT_INSTAKILL = 1,