Merge pull request #1 from coltongit/patch-10
Extra NODRAWDISTANCE fixes
This commit is contained in:
commit
f5c476987c
@ -328,7 +328,6 @@ void (*TablePiranhaPlantActions[])(void) = {
|
|||||||
*/
|
*/
|
||||||
void bhv_piranha_plant_loop(void) {
|
void bhv_piranha_plant_loop(void) {
|
||||||
cur_obj_call_action_function(TablePiranhaPlantActions);
|
cur_obj_call_action_function(TablePiranhaPlantActions);
|
||||||
|
|
||||||
#ifndef NODRAWINGDISTANCE
|
#ifndef NODRAWINGDISTANCE
|
||||||
// In WF, hide all Piranha Plants once high enough up.
|
// In WF, hide all Piranha Plants once high enough up.
|
||||||
if (gCurrLevelNum == LEVEL_WF) {
|
if (gCurrLevelNum == LEVEL_WF) {
|
||||||
|
@ -97,7 +97,9 @@ void bhv_sl_walking_penguin_loop(void) {
|
|||||||
}
|
}
|
||||||
|
|
||||||
cur_obj_move_standard(-78);
|
cur_obj_move_standard(-78);
|
||||||
|
#ifndef NODRAWINGDISTANCE
|
||||||
if (!cur_obj_hide_if_mario_far_away_y(1000.0f))
|
if (!cur_obj_hide_if_mario_far_away_y(1000.0f))
|
||||||
|
#endif
|
||||||
play_penguin_walking_sound(PENGUIN_WALK_BIG);
|
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.
|
// Adjust the position to get a point better lined up with the visual model, for stopping the wind.
|
||||||
|
Loading…
Reference in New Issue
Block a user