- [FIX] Quan se pillen les sequències del data.jf2 peta per que no hi ha EOF
This commit is contained in:
@@ -107,6 +107,16 @@ namespace gamestate
|
||||
} else if (command=="FADEOUTMUSIC") {
|
||||
draw::fadeout();
|
||||
audio::fadeoutMusic();
|
||||
|
||||
} else if (command=="END") {
|
||||
fclose(sequence_file);
|
||||
const int fase = game::getConfig("fase");
|
||||
if ( fase == -1 || fase == 30) {
|
||||
gamestate::menu::init();
|
||||
} else {
|
||||
gamestate::prefase::init();
|
||||
}
|
||||
return true;
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user