mirror of
https://github.com/TerryCavanagh/VVVVVV.git
synced 2026-07-28 09:59:29 +03:00
Checkpoint autosaving
This commit is contained in:
committed by
Misa Elizabeth Kai
parent
c870df4e5b
commit
8aec83daec
@@ -2749,6 +2749,13 @@ bool entityclass::updateentities( int i )
|
||||
game.savedir = entities[player].dir;
|
||||
}
|
||||
entities[i].state = 0;
|
||||
|
||||
if (game.checkpoint_saving)
|
||||
{
|
||||
bool success = game.savequick();
|
||||
game.gamesaved = success;
|
||||
game.gamesavefailed = !success;
|
||||
}
|
||||
}
|
||||
break;
|
||||
case 9: //Gravity Lines
|
||||
|
||||
Reference in New Issue
Block a user