From 269cd8f60f894b992999de9eab79123f0cfe3416 Mon Sep 17 00:00:00 2001 From: GateGuy <57763469+GateGuy@users.noreply.github.com> Date: Mon, 1 Jun 2020 17:33:22 -0400 Subject: [PATCH] Fixed constant fish respawning --- src/game/behaviors/fish.inc.c | 2 ++ 1 file changed, 2 insertions(+) diff --git a/src/game/behaviors/fish.inc.c b/src/game/behaviors/fish.inc.c index f652ef47..ed1d767e 100644 --- a/src/game/behaviors/fish.inc.c +++ b/src/game/behaviors/fish.inc.c @@ -62,11 +62,13 @@ void fish_act_spawn(void) { * Y coordinate is greater than 2000.0f then spawn another fish. */ void fish_act_respawn(void) { +#ifndef NODRAWINGDISTANCE if (gCurrLevelNum != LEVEL_SA) { if (gMarioObject->oPosY - o->oPosY > 2000.0f) { o->oAction = FISH_ACT_RESPAWN; } } +#endif } /**