Fix crash in pole_base_loop()

This commit is contained in:
MysterD 2023-04-20 00:26:17 -07:00
parent ffc2b431ec
commit 4fcbecd0cb
1 changed files with 1 additions and 0 deletions

View File

@ -1,6 +1,7 @@
// pole_base.inc.c
void bhv_pole_base_loop(void) {
if (!gMarioObject) { return; }
if (o->oPosY - 10.0f < gMarioObject->oPosY
&& gMarioObject->oPosY < o->oPosY + o->hitboxHeight + 30.0f)
if (o->oTimer > 10)