- [FIX] El modul arounders no s'inicialitzava
- [FIX] Quan reintentaves un mapa, no se recarregava
This commit is contained in:
@@ -65,6 +65,7 @@ namespace gamestate
|
||||
play::aigua = draw::loadSurface("aigua.gif");
|
||||
play::faded = draw::createSurface(320, 200);
|
||||
|
||||
arounders::init();
|
||||
// [TODO] Crear el primer Arounder
|
||||
// REALMENT NO. PREFEREIXC QUE PASEN UNS SEGONS ABANS QUE ARRIBE EL PRIMER
|
||||
// mapa::arounders::eixits++;
|
||||
@@ -256,7 +257,10 @@ namespace gamestate
|
||||
if (play::exit) {
|
||||
if (!draw::isfading()) {
|
||||
play::finalize();
|
||||
if (exit==1) gamestate::play::init();
|
||||
if (exit==1) {
|
||||
mapa::carregar();
|
||||
gamestate::play::init();
|
||||
}
|
||||
if (exit==2) gamestate::menu::init();
|
||||
}
|
||||
draw::render();
|
||||
|
||||
Reference in New Issue
Block a user