Synchronized bot code to new movement system

This commit is contained in:
Uleat
2019-01-27 08:08:01 -05:00
parent 16036ab492
commit 3c0bd2bf5d
3 changed files with 5 additions and 6 deletions
+1 -1
View File
@@ -759,7 +759,7 @@ void MobMovementManager::FillCommandStruct(PlayerPositionUpdateServer_Struct *sp
spu->delta_y = FloatToEQ13(dy);
spu->delta_z = FloatToEQ13(dz);
spu->delta_heading = FloatToEQ10(dh);
spu->animation = anim;
spu->animation = (m->IsBot() ? (int)((float)anim / 1.785714f) : anim);
}
void MobMovementManager::UpdatePath(Mob *who, float x, float y, float z, MobMovementMode mode)