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:
@@ -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; }
|
||||
|
||||
Reference in New Issue
Block a user