Wrap boulder room check under vanilla specific level checks (#521)

This commit is contained in:
Reonu
2022-11-03 00:36:59 +01:00
committed by GitHub
parent 987f76190f
commit a784c180a8

View File

@@ -53,8 +53,12 @@ void bhv_big_boulder_generator_loop(void) {
o->oTimer = 0;
}
#ifdef ENABLE_VANILLA_LEVEL_SPECIFIC_CHECKS
if (!current_mario_room_check(4)
|| is_point_within_radius_of_mario(o->oPosX, o->oPosY, o->oPosZ, 1500)) {
#else
if (is_point_within_radius_of_mario(o->oPosX, o->oPosY, o->oPosZ, 1500)) {
#endif
return;
}