Core/TempSummon: Implement ForcedUnsummonDelayEvent. Similar to ForcedDespawnEvent for Creatures, this will unsummon TempSummon objects with specified delay.
Core/Vehicles: Implement ForcedUnsummonDelayEvent for creatures exiting vehicles. Fixes visual bug that showed creatures mounted on vehicle after being ejected.
This commit is contained in:
1 parent
5be032fe79
commit
d5be3353f3
3 files changed
+26
-3
No files matched your search
@@ -16711,7 +16711,7 @@ void Unit::_ExitVehicle(Position const* exitPosition)
|
||||
setDeathState(JUST_DIED);
|
||||
// If for other reason we as minion are exiting the vehicle (ejected, master unmounted) - unsummon
|
||||
else
|
||||
ToTempSummon()->UnSummon();
|
||||
ToTempSummon()->UnSummon(2000); // Approximation
|
||||
}
|
||||
}
|
||||
|
||||
|
||||
Reference in new issue
Block a user