mirror of
https://github.com/coop-deluxe/sm64coopdx.git
synced 2024-11-28 23:13:02 +00:00
Fixed constant fish respawning
This commit is contained in:
parent
f6c54e95b2
commit
269cd8f60f
1 changed files with 2 additions and 0 deletions
|
@ -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
|
||||
}
|
||||
|
||||
/**
|
||||
|
|
Loading…
Reference in a new issue