Merge branch 'main' into 26-02-27-allocator-isolation

This commit is contained in:
PJB3005
2026-03-05 00:15:09 +01:00
5530 changed files with 252979 additions and 26830 deletions
+4 -4
View File
@@ -902,16 +902,16 @@ void daE_YMB_c::executeFly() {
if (fVar1 > 1800.0f) {
adj_angle = playerAngleY + 0x8000 + cM_rndFX(2048.0f);
if ((s16)(cLib_targetAngleY(&current.pos, &field_0x69c) - playerAngleY) > 0) {
adj_angle -= (s16) 0x1800;
ANGLE_SUB(adj_angle, 0x1800);
} else {
adj_angle += (s16) 0x1800;
ANGLE_ADD(adj_angle, 0x1800);
}
} else {
adj_angle = playerAngleY + 0x8000 + cM_rndFX(2048.0f);
if (cM_rnd() < 0.5f) {
adj_angle += (s16) 0x1800;
ANGLE_ADD(adj_angle, 0x1800);
} else {
adj_angle -= (s16) 0x1800;
ANGLE_SUB(adj_angle, 0x1800);
}
}
}