mirror of
https://github.com/zenorogue/hyperrogue.git
synced 2025-07-05 03:02:49 +00:00
clearing:: clear memory on new game
This commit is contained in:
parent
089115ee69
commit
17ffe53839
@ -3361,6 +3361,8 @@ auto ccm = addHook(clearmemory, 0, [] () {
|
|||||||
princess::clear();
|
princess::clear();
|
||||||
mirror::mirrors.clear();
|
mirror::mirrors.clear();
|
||||||
clearing::bpdata.clear();
|
clearing::bpdata.clear();
|
||||||
|
clearing::stats.clear();
|
||||||
|
clearing::score.clear();
|
||||||
tortoise::emap.clear();
|
tortoise::emap.clear();
|
||||||
tortoise::babymap.clear();
|
tortoise::babymap.clear();
|
||||||
#if CAP_FIELD
|
#if CAP_FIELD
|
||||||
|
@ -190,6 +190,9 @@ EX void initgame() {
|
|||||||
|
|
||||||
chaosAchieved = false;
|
chaosAchieved = false;
|
||||||
|
|
||||||
|
clearing::direct = 0;
|
||||||
|
clearing::imputed = 0;
|
||||||
|
|
||||||
if(firstland == laElementalWall) cwt.at->land = randomElementalLand();
|
if(firstland == laElementalWall) cwt.at->land = randomElementalLand();
|
||||||
|
|
||||||
resetview();
|
resetview();
|
||||||
|
Loading…
x
Reference in New Issue
Block a user