1
0
mirror of https://github.com/zenorogue/hyperrogue.git synced 2025-09-10 06:16:00 +00:00

rogueviz:: ads:: fixed adS not clearing replays

This commit is contained in:
Zeno Rogue
2025-08-29 01:40:49 +02:00
parent dbd89cdac1
commit f4f3d6bcc1
2 changed files with 3 additions and 0 deletions

View File

@@ -78,6 +78,8 @@ void ads_sub_restart() {
ci_at.clear();
displayed.clear();
history.clear();
in_replay = false;
gen_terrain(vctr, ci_at[vctr], -2);
forCellEx(c1, vctr) ci_at[c1].type = wtNone;

View File

@@ -758,6 +758,7 @@ void ds_restart() {
pick_textures();
init_rsrc();
init_gamedata();
in_replay = false;
}
void run_ds_game_hooks() {