Update whomp.inc.c

This commit is contained in:
wabberz 2020-05-16 20:33:41 +02:00 committed by GitHub
parent f5c476987c
commit a5d4b22606
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

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();
}
}