Skip to content

Commit

Permalink
[STEERING]: Update SteerMove
Browse files Browse the repository at this point in the history
  • Loading branch information
FedericoMilesi committed Feb 10, 2024
1 parent 71194f0 commit 12ad7fd
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions KAIN2/Game/RAZIEL/STEERING.C
Original file line number Diff line number Diff line change
Expand Up @@ -499,7 +499,7 @@ void SteerTurn(struct _Instance* instance, int rc) // Matching - 100%
}
}

void SteerMove(struct _Instance* instance, int rc)
void SteerMove(struct _Instance* instance, int rc) // Matching - 100%
{
if ((rc != 0) || (Raziel.Bearing != 0))
{
Expand All @@ -514,7 +514,7 @@ void SteerMove(struct _Instance* instance, int rc)

if (Raziel.steeringVelocity >= 0x301)
{
Raziel.steeringVelocity = Raziel.steeringVelocity < 0 ? (((Raziel.steeringVelocity + 3) >> 2) + 0x70) : ((Raziel.steeringVelocity >> 2) + 0x7);
Raziel.steeringVelocity = Raziel.steeringVelocity / 4 + 0x70;
}
else
{
Expand Down

0 comments on commit 12ad7fd

Please sign in to comment.