mirror of
https://github.com/coop-deluxe/sm64coopdx.git
synced 2024-11-22 20:15:17 +00:00
Fix crash in pole_base_loop()
This commit is contained in:
parent
4b8c40c734
commit
2f59d29f95
1 changed files with 1 additions and 0 deletions
|
@ -1,6 +1,7 @@
|
||||||
// pole_base.inc.c
|
// pole_base.inc.c
|
||||||
|
|
||||||
void bhv_pole_base_loop(void) {
|
void bhv_pole_base_loop(void) {
|
||||||
|
if (!gMarioObject) { return; }
|
||||||
if (o->oPosY - 10.0f < gMarioObject->oPosY
|
if (o->oPosY - 10.0f < gMarioObject->oPosY
|
||||||
&& gMarioObject->oPosY < o->oPosY + o->hitboxHeight + 30.0f)
|
&& gMarioObject->oPosY < o->oPosY + o->hitboxHeight + 30.0f)
|
||||||
if (o->oTimer > 10)
|
if (o->oTimer > 10)
|
||||||
|
|
Loading…
Reference in a new issue