Core/Movement
* Added wrapper methods for setting various movement flags and sending correct movement opcodes * Made flying and falling spline flags exclusive with each other
This commit is contained in:
1 parent
779f3c2f08
commit
d9df460694
15 files changed
+231
-205
No files matched your search
@@ -100,6 +100,8 @@ namespace Movement
|
||||
uint32 moveFlagsForSpeed = moveFlags;
|
||||
if (args.flags.walkmode)
|
||||
moveFlagsForSpeed |= MOVEMENTFLAG_WALKING;
|
||||
else
|
||||
moveFlagsForSpeed &= ~MOVEMENTFLAG_WALKING;
|
||||
|
||||
args.velocity = unit->GetSpeed(SelectSpeedType(moveFlagsForSpeed));
|
||||
}
|
||||
|
||||
Reference in new issue
Block a user