From 42f2c7f6ae8b4553a6c9610bdd480642ef7b914d Mon Sep 17 00:00:00 2001 From: mark1145 Date: Sat, 27 Aug 2022 10:49:39 +1000 Subject: [PATCH] * After casting a spell, the player was always faced south (#1148) --- Projects/UOContent/Spells/Base/SpellHelper.cs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Projects/UOContent/Spells/Base/SpellHelper.cs b/Projects/UOContent/Spells/Base/SpellHelper.cs index d04a16c10..627ab1616 100644 --- a/Projects/UOContent/Spells/Base/SpellHelper.cs +++ b/Projects/UOContent/Spells/Base/SpellHelper.cs @@ -196,7 +196,7 @@ namespace Server.Spells from.Direction = from.GetDirectionTo(item.GetWorldLocation()); } } - else if (from.Equals(target)) + else if (!from.Equals(target)) { from.Direction = from.GetDirectionTo(target); }