[Remove] Taken nebulae puffs out of the main menu.
This commit is contained in:
parent
2f9c91d451
commit
bda8ebb204
@ -352,6 +352,10 @@ void nebu_renderOverlay(const double dt) {
|
||||
void nebu_renderPuffs(const double dt, int below_player) {
|
||||
int i;
|
||||
|
||||
/* Main menu shouldn't have puffs. */
|
||||
if(menu_isOpen(MENU_MAIN)) return;
|
||||
|
||||
/* Seperate by layers. */
|
||||
for(i = 0; i < nebu_npuffs; i++) {
|
||||
if((below_player && (nebu_puffs[i].height < 1.)) ||
|
||||
(!below_player && (nebu_puffs[i].height > 1.))) {
|
||||
|
Loading…
Reference in New Issue
Block a user