From 5fa27c2a725a03c36600a1497beff994e2f2a3fb Mon Sep 17 00:00:00 2001 From: Christoph Oelckers Date: Mon, 26 Sep 2022 18:28:10 +0200 Subject: [PATCH] - replaced the last set_int_ang calls. --- source/games/blood/src/nnexts.cpp | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/source/games/blood/src/nnexts.cpp b/source/games/blood/src/nnexts.cpp index d68e83532..0df0e0b6b 100644 --- a/source/games/blood/src/nnexts.cpp +++ b/source/games/blood/src/nnexts.cpp @@ -8076,7 +8076,7 @@ void aiPatrolStop(DBloodActor* actor, DBloodActor* targetactor, bool alarm) if (mytarget && mytarget->spr.type == kMarkerPath) { - if (targetactor == nullptr) actor->set_int_ang(mytarget->int_ang() & 2047); + if (targetactor == nullptr) actor->spr.angle = mytarget->spr.angle; actor->SetTarget(nullptr); } @@ -9216,7 +9216,7 @@ void callbackUniMissileBurst(DBloodActor* actor, sectortype*) // 22 burstactor->spr.flags = actor->spr.flags; burstactor->spr.xrepeat = actor->spr.xrepeat / 2; burstactor->spr.yrepeat = actor->spr.yrepeat / 2; - burstactor->set_int_ang(((actor->int_ang() + missileInfo[actor->spr.type - kMissileBase].angleOfs) & 2047)); + burstactor->spr.angle = actor->spr.angle + DAngle::fromBuild(missileInfo[actor->spr.type - kMissileBase].angleOfs); burstactor->SetOwner(actor); actBuildMissile(burstactor, actor);