Fix SL walking penguin for nodrawdistance

This commit is contained in:
Colton G. Rushton 2020-05-16 10:23:32 -03:00 committed by GitHub
parent 5f78765cf4
commit 30082cfe0c
1 changed files with 3 additions and 1 deletions

View File

@ -97,7 +97,9 @@ void bhv_sl_walking_penguin_loop(void) {
}
cur_obj_move_standard(-78);
if (!cur_obj_hide_if_mario_far_away_y(1000.0f))
#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.