Merge pull request #350 from pouar/fix-snufit
Bugfix for NODRAWDISTANCE
This commit is contained in:
commit
6d1f2afd8b
|
@ -181,10 +181,9 @@ void bhv_snufit_balls_loop(void) {
|
|||
// If far from Mario or in a different room, despawn.
|
||||
if ((o->activeFlags & ACTIVE_FLAG_IN_DIFFERENT_ROOM)
|
||||
#ifndef NODRAWINGDISTANCE
|
||||
|| (o->oTimer != 0 && o->oDistanceToMario > 1500.0f)) {
|
||||
#else
|
||||
|| (o->oTimer != 0)) {
|
||||
|| (o->oTimer != 0 && o->oDistanceToMario > 1500.0f)
|
||||
#endif
|
||||
){
|
||||
obj_mark_for_deletion(o);
|
||||
}
|
||||
|
||||
|
|
Loading…
Reference in New Issue