request load after moving to next level in case of victory

This commit is contained in:
Gwenhael Le Moine 2011-07-01 17:11:15 +02:00
parent a5956feff1
commit d20d0885b4

1
star.c
View file

@ -451,6 +451,7 @@ int main( int argc, char* argv[] )
do { do {
if ( won_or_not( s ) ) { if ( won_or_not( s ) ) {
lvl++; lvl++;
load_requested = 1;
} }
if ( load_requested == 1 ) { if ( load_requested == 1 ) {
load_requested = 0; load_requested = 0;