diff --git a/source/gamestate_play.cpp b/source/gamestate_play.cpp index c7efe9c..cd7faf8 100644 --- a/source/gamestate_play.cpp +++ b/source/gamestate_play.cpp @@ -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();