aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--src/game/Wintergrasp.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/game/Wintergrasp.cpp b/src/game/Wintergrasp.cpp
index ea0fe7bcb21..42f5e6f4e2f 100644
--- a/src/game/Wintergrasp.cpp
+++ b/src/game/Wintergrasp.cpp
@@ -773,7 +773,7 @@ void OPvPWintergrasp::CastTenacity(Unit *unit, int32 newStack)
unit->SetAuraStack(spellId, unit, newStack);
else
unit->RemoveAura(spellId);
- if (!unit->GetTypeId() == TYPEID_PLAYER || unit->isAlive())
+ if (unit->GetTypeId() != TYPEID_PLAYER || unit->isAlive())
unit->SetHealth(uint32(unit->GetMaxHealth()*((float)unit->GetHealth()) / unit->GetMaxHealth()));
}