2
0
mirror of https://github.com/AxioDL/metaforce.git synced 2025-12-09 01:07:43 +00:00

Various bug fixes

This commit is contained in:
Jack Andersen
2018-11-07 14:53:38 -10:00
parent 0b3a9e1865
commit 1aab0528f3
29 changed files with 478 additions and 167 deletions

View File

@@ -43,17 +43,6 @@ bool CPOINode::operator<(const CPOINode& other) const
return x1c_time > other.x1c_time;
}
int CPOINode::compare(const void* a, const void* b)
{
const CPOINode& na = *reinterpret_cast<const CPOINode*>(a);
const CPOINode& nb = *reinterpret_cast<const CPOINode*>(b);
if (na > nb)
return 1;
else if (na < nb)
return -1;
return 0;
}
template <class T>
u32 _getPOIList(const CCharAnimTime& time,
T* listOut,