2
0
mirror of https://github.com/AxioDL/metaforce.git synced 2025-12-21 03:39:11 +00:00

CThardus: roll baby roll

This commit is contained in:
2020-09-13 13:00:13 -07:00
parent 2d2063632c
commit 545a6d691c
2 changed files with 5 additions and 5 deletions

View File

@@ -908,7 +908,7 @@ void CThardus::LoopedAttack(CStateManager& mgr, EStateMsg msg, float arg) {
} else if (x658_ == 0) {
zeus::CVector3f dir = (mgr.GetPlayer().GetTranslation() - GetTranslation()).normalized();
zeus::CVector2f vec = sub801dac30(mgr);
if (vec == zeus::skZero2f) {
if (vec != zeus::skZero2f) {
x650_ = vec;
} else {
x650_ = dir.toVec2f().normalized();
@@ -1585,7 +1585,7 @@ zeus::CVector2f CThardus::sub801dc60c(float arg, CStateManager& mgr) {
}
}
if (ret != zeus::skZero2f) {
if (ret == zeus::skZero2f) {
return x45c_steeringBehaviors.Arrival(*this, x7d8_, 0.f).toVec2f();
}