fix: la powerball sonava en la demo
This commit is contained in:
@@ -401,7 +401,7 @@ void Director::initOptions() {
|
|||||||
// En Emscripten la ventana la gestiona el navegador
|
// En Emscripten la ventana la gestiona el navegador
|
||||||
options->windowSize = 1;
|
options->windowSize = 1;
|
||||||
options->videoMode = 0;
|
options->videoMode = 0;
|
||||||
options->integerScale = false;
|
options->integerScale = true;
|
||||||
#endif
|
#endif
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|||||||
@@ -1972,7 +1972,9 @@ void Game::destroyAllBalloons() {
|
|||||||
}
|
}
|
||||||
|
|
||||||
enemyDeployCounter = 255;
|
enemyDeployCounter = 255;
|
||||||
JA_PlaySound(powerBallSound);
|
if (!demo.enabled) {
|
||||||
|
JA_PlaySound(powerBallSound);
|
||||||
|
}
|
||||||
effect.flash = true;
|
effect.flash = true;
|
||||||
effect.shake = true;
|
effect.shake = true;
|
||||||
}
|
}
|
||||||
|
|||||||
Reference in New Issue
Block a user