mirror of
https://github.com/AxioDL/metaforce.git
synced 2025-07-05 19:15:52 +00:00
CCharAnimTime: Fix operator== between Infinity
This commit is contained in:
parent
a0e1864312
commit
3f17c72b30
@ -51,7 +51,7 @@ bool CCharAnimTime::operator==(const CCharAnimTime& other) const {
|
|||||||
}
|
}
|
||||||
|
|
||||||
if (other.x4_type == EType::Infinity)
|
if (other.x4_type == EType::Infinity)
|
||||||
return x0_time * other.x0_time < 0.f;
|
return x0_time * other.x0_time > 0.f;
|
||||||
|
|
||||||
return false;
|
return false;
|
||||||
}
|
}
|
||||||
|
Loading…
x
Reference in New Issue
Block a user