Do autosaves

This commit is contained in:
2025-03-02 12:03:52 -06:00
committed by Celtic Minstrel
parent 53de92c932
commit 5bc1643be7
7 changed files with 63 additions and 3 deletions

View File

@@ -507,6 +507,8 @@ void start_town_mode(short which_town, short entry_dir) {
// TODO: One problem with this - it paints the terrain after the town entry dialog is dismissed
// ... except it actually doesn't, because the town enter special is only queued, not run immediately.
draw_terrain(1);
try_auto_save("EnterTown");
}
@@ -629,6 +631,10 @@ location end_town_mode(bool switching_level,location destination, bool debug_lea
univ.party.town_num = 200; // should be harmless...
if(!switching_level){
try_auto_save("ExitTown");
}
return to_return;
}