mirror of
https://github.com/zenorogue/hyperrogue.git
synced 2025-10-22 09:27:40 +00:00
clearing:: clear memory on new game
This commit is contained in:
@@ -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();
|
||||
|
Reference in New Issue
Block a user