mirror of
https://github.com/zenorogue/hyperrogue.git
synced 2025-04-09 04:06:44 +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();
|
||||
mirror::mirrors.clear();
|
||||
clearing::bpdata.clear();
|
||||
clearing::stats.clear();
|
||||
clearing::score.clear();
|
||||
tortoise::emap.clear();
|
||||
tortoise::babymap.clear();
|
||||
#if CAP_FIELD
|
||||
|
@ -190,6 +190,9 @@ EX void initgame() {
|
||||
|
||||
chaosAchieved = false;
|
||||
|
||||
clearing::direct = 0;
|
||||
clearing::imputed = 0;
|
||||
|
||||
if(firstland == laElementalWall) cwt.at->land = randomElementalLand();
|
||||
|
||||
resetview();
|
||||
|
Loading…
x
Reference in New Issue
Block a user