aboutsummaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
authorariel- <ariel-@users.noreply.github.com>2017-03-31 02:18:46 -0300
committerariel- <ariel-@users.noreply.github.com>2017-03-31 02:18:46 -0300
commit006e90339ec27b7d487c9a58dc8a212058a8174c (patch)
treedfebde84e7115d26ef66a05eb9bcaaea30ecf417 /src
parentdafa7267737ac11b7abb4dcf9943c24ab1e71a8a (diff)
Revert "Core/Battlegrounds: disable health regen for battleground vehicles (#19183)"
This reverts commit 85af0a06305e6f771482da973244737e47bcf34c.
Diffstat (limited to 'src')
-rw-r--r--src/server/game/Battlegrounds/Battleground.cpp3
1 files changed, 0 insertions, 3 deletions
diff --git a/src/server/game/Battlegrounds/Battleground.cpp b/src/server/game/Battlegrounds/Battleground.cpp
index 1fe5f3b0a3f..6a2275ed415 100644
--- a/src/server/game/Battlegrounds/Battleground.cpp
+++ b/src/server/game/Battlegrounds/Battleground.cpp
@@ -1527,9 +1527,6 @@ Creature* Battleground::AddCreature(uint32 entry, uint32 type, float x, float y,
if (respawntime)
creature->SetRespawnDelay(respawntime);
- if (creature->IsVehicle())
- creature->setRegeneratingHealth(false);
-
return creature;
}