Core/Spells: Always remove spell target from transport on teleport spells if spell destination does not target a position on the transport

Port From (https://github.com/TrinityCore/TrinityCore/commit/8cfc8e41418c127aa11ef0bbbdd0f1d6388ab0ae)
This commit is contained in:
hondacrx
2023-06-13 05:24:33 -04:00
parent 48f8d37ccb
commit 4180b6fa3f
2 changed files with 35 additions and 19 deletions
@@ -329,8 +329,10 @@ namespace Framework.Constants
Item = 0x80
}
[Flags]
public enum TeleportToOptions
{
None = 0x00,
GMMode = 0x01,
NotLeaveTransport = 0x02,
NotLeaveCombat = 0x04,