Synchronized bot code to new movement system

This commit is contained in:
Uleat committed 2019-01-27 08:08:01 -05:00
1 parent 16036ab492
commit 3c0bd2bf5d
3 files changed
+5 -6

No files matched your search

+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)