mirror of
https://github.com/zenorogue/hyperrogue.git
synced 2025-11-18 22:55:12 +00:00
rogueviz:: ads:: fixed adS not clearing replays
This commit is contained in:
@@ -78,6 +78,8 @@ void ads_sub_restart() {
|
|||||||
|
|
||||||
ci_at.clear();
|
ci_at.clear();
|
||||||
displayed.clear();
|
displayed.clear();
|
||||||
|
history.clear();
|
||||||
|
in_replay = false;
|
||||||
|
|
||||||
gen_terrain(vctr, ci_at[vctr], -2);
|
gen_terrain(vctr, ci_at[vctr], -2);
|
||||||
forCellEx(c1, vctr) ci_at[c1].type = wtNone;
|
forCellEx(c1, vctr) ci_at[c1].type = wtNone;
|
||||||
|
|||||||
@@ -758,6 +758,7 @@ void ds_restart() {
|
|||||||
pick_textures();
|
pick_textures();
|
||||||
init_rsrc();
|
init_rsrc();
|
||||||
init_gamedata();
|
init_gamedata();
|
||||||
|
in_replay = false;
|
||||||
}
|
}
|
||||||
|
|
||||||
void run_ds_game_hooks() {
|
void run_ds_game_hooks() {
|
||||||
|
|||||||
Reference in New Issue
Block a user