Core/Movement: MovementGenerator fixes.
- vmap height search in FleeingMovementGenerator and ConfusedMovementGenerator (until we can search for a nearby position properly) Should solve #7704, needs testing - Removed some unused code in CalculatePath and TargetedMovementGenerator. Ty faramir118 - Allow players to charge through slime and lava liquids. Closes #7967
This commit is contained in:
1 parent
3c13454ad7
commit
677ee02b8e
6 files changed
+79
-99
No files matched your search
@@ -98,7 +98,7 @@ namespace Movement
|
||||
if (!args.HasVelocity)
|
||||
args.velocity = unit->GetSpeed(SelectSpeedType(moveFlags));
|
||||
|
||||
if (!args.Validate(&unit))
|
||||
if (!args.Validate(unit))
|
||||
return 0;
|
||||
|
||||
if (moveFlags & MOVEMENTFLAG_ROOT)
|
||||
|
||||
Reference in new issue
Block a user