mirror of https://github.com/AxioDL/metaforce.git
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)
|
||||
return x0_time * other.x0_time < 0.f;
|
||||
return x0_time * other.x0_time > 0.f;
|
||||
|
||||
return false;
|
||||
}
|
||||
|
|
Loading…
Reference in New Issue