aboutsummaryrefslogtreecommitdiff
path: root/src/server/game/AI/CreatureAI.cpp
diff options
context:
space:
mode:
authorjackpoz <giacomopoz@gmail.com>2019-05-05 14:07:34 +0200
committerjackpoz <giacomopoz@gmail.com>2019-05-05 17:20:10 +0200
commit6dae4a747da558ca46a777186d4519c32fc1bf04 (patch)
tree277f6a3c38896fb2573d469c77d8fba256cde76c /src/server/game/AI/CreatureAI.cpp
parente253b695cc0db634954717262e5016240f03d541 (diff)
Core/Vehicles: Fix accessories disappearing on reset
Diffstat (limited to 'src/server/game/AI/CreatureAI.cpp')
-rw-r--r--src/server/game/AI/CreatureAI.cpp3
1 files changed, 0 insertions, 3 deletions
diff --git a/src/server/game/AI/CreatureAI.cpp b/src/server/game/AI/CreatureAI.cpp
index 4cca5d1d609..81b860ccf20 100644
--- a/src/server/game/AI/CreatureAI.cpp
+++ b/src/server/game/AI/CreatureAI.cpp
@@ -167,9 +167,6 @@ void CreatureAI::EnterEvadeMode(EvadeReason why)
}
Reset();
-
- if (me->IsVehicle()) // use the same sequence of addtoworld, aireset may remove all summons!
- me->GetVehicleKit()->Reset(true);
}
bool CreatureAI::UpdateVictim()