mirror of
https://github.com/coop-deluxe/sm64coopdx.git
synced 2024-11-25 13:35:12 +00:00
Update whomp.inc.c
This commit is contained in:
parent
f5c476987c
commit
a5d4b22606
1 changed files with 2 additions and 2 deletions
|
@ -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();
|
||||
}
|
||||
}
|
||||
|
|
Loading…
Reference in a new issue