*Fix the bug that server crashes when loading.
*Fix the bug that rogue does not remove stealth aura when do melee attack. --HG-- branch : trunk
This commit is contained in:
@@ -9764,7 +9764,6 @@ void Unit::CombatStart(Unit* target)
|
||||
if(Player* attackedPlayer = target->GetCharmerOrOwnerPlayerOrPlayerItself())
|
||||
SetContestedPvP(attackedPlayer);
|
||||
|
||||
if(!isInCombat()) // remove this?
|
||||
RemoveAurasWithInterruptFlags(AURA_INTERRUPT_FLAG_ATTACK);
|
||||
}
|
||||
|
||||
|
||||
+2
-1
@@ -178,7 +178,6 @@ enum WorldConfigs
|
||||
CONFIG_LISTEN_RANGE_SAY,
|
||||
CONFIG_LISTEN_RANGE_TEXTEMOTE,
|
||||
CONFIG_LISTEN_RANGE_YELL,
|
||||
CONFIG_VALUE_COUNT,
|
||||
|
||||
CONFIG_MAX_WHO,
|
||||
CONFIG_PLAYER_START_GOLD,
|
||||
@@ -205,6 +204,8 @@ enum WorldConfigs
|
||||
CONFIG_ARENA_AUTO_DISTRIBUTE_POINTS,
|
||||
CONFIG_ARENA_AUTO_DISTRIBUTE_INTERVAL_DAYS,
|
||||
CONFIG_BATTLEGROUND_PREMATURE_FINISH_TIMER,
|
||||
|
||||
CONFIG_VALUE_COUNT,
|
||||
};
|
||||
|
||||
/// Server rates
|
||||
|
||||
Reference in New Issue
Block a user