Update whomp.inc.c

This commit is contained in:
wabberz 2020-05-16 20:33:41 +02:00 committed by GitHub
parent 6e56c497ad
commit ac7a4a5b96
1 changed files with 2 additions and 2 deletions

View File

@ -246,14 +246,14 @@ void bhv_whomp_loop(void) {
cur_obj_call_action_function(sWhompActions);
cur_obj_move_standard(-20);
if (o->oAction != 9) {
#ifndef NODRAWINGDISTANCE
#ifndef NODRAWINGDISTANCE
// o->oBehParams2ndByte here seems to be a flag
// indicating whether this is a normal or king whomp
if (o->oBehParams2ndByte != 0)
cur_obj_hide_if_mario_far_away_y(2000.0f);
else
cur_obj_hide_if_mario_far_away_y(1000.0f);
#endif
#endif
load_object_collision_model();
}
}