Core/Spells: Fixed charge effects with non-explicit targets
This commit is contained in:
1 parent
20cd6cfc61
commit
d926ad63c0
9 files changed
+34
-30
No files matched your search
@@ -158,7 +158,7 @@ namespace Movement
|
||||
{
|
||||
PathGenerator path(unit);
|
||||
bool result = path.CalculatePath(dest.x, dest.y, dest.z, forceDestination);
|
||||
if (result && path.GetPathType() & ~PATHFIND_NOPATH)
|
||||
if (result && !(path.GetPathType() & PATHFIND_NOPATH))
|
||||
{
|
||||
MovebyPath(path.GetPath());
|
||||
return;
|
||||
|
||||
Reference in new issue
Block a user