mirror of https://github.com/sm64pc/sm64pc.git
Merge pull request #1 from coltongit/patch-10
Extra NODRAWDISTANCE fixes
This commit is contained in:
commit
f5c476987c
|
@ -328,7 +328,6 @@ void (*TablePiranhaPlantActions[])(void) = {
|
|||
*/
|
||||
void bhv_piranha_plant_loop(void) {
|
||||
cur_obj_call_action_function(TablePiranhaPlantActions);
|
||||
|
||||
#ifndef NODRAWINGDISTANCE
|
||||
// In WF, hide all Piranha Plants once high enough up.
|
||||
if (gCurrLevelNum == LEVEL_WF) {
|
||||
|
|
|
@ -97,7 +97,9 @@ void bhv_sl_walking_penguin_loop(void) {
|
|||
}
|
||||
|
||||
cur_obj_move_standard(-78);
|
||||
#ifndef NODRAWINGDISTANCE
|
||||
if (!cur_obj_hide_if_mario_far_away_y(1000.0f))
|
||||
#endif
|
||||
play_penguin_walking_sound(PENGUIN_WALK_BIG);
|
||||
|
||||
// Adjust the position to get a point better lined up with the visual model, for stopping the wind.
|
||||
|
|
Loading…
Reference in New Issue