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

Fix boost ball and other collision issues

This commit is contained in:
Jack Andersen
2018-06-21 19:11:20 -10:00
parent f4b01e9c3f
commit bc9d225c89
2 changed files with 4 additions and 3 deletions

View File

@@ -93,7 +93,7 @@ public:
ETreeType GetChildType(int idx) const
{
u16 flags = *reinterpret_cast<const u16*>(x18_ptr);
return ETreeType((flags << (2 * idx)) & 0x3);
return ETreeType((flags >> (2 * idx)) & 0x3);
}
ETreeType GetTreeType() const { return x20_nodeType; }