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 fd9909269d
commit 6736bd7e9c
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
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.