1
0
mirror of https://github.com/zenorogue/hyperrogue.git synced 2024-11-27 14:37:16 +00:00

do not reset whichShape to 0 in special geometries

This commit is contained in:
Zeno Rogue 2020-03-21 19:06:54 +01:00
parent 862d2c7e65
commit 85e6be8cab

View File

@ -339,7 +339,6 @@ EX void initgame() {
if(!safety) { if(!safety) {
usedSafety = false; usedSafety = false;
timerstart = time(NULL); turncount = 0; rosewave = 0; rosephase = 0; timerstart = time(NULL); turncount = 0; rosewave = 0; rosephase = 0;
patterns::whichShape = 0;
noiseuntil = 0; noiseuntil = 0;
sagephase = 0; hardcoreAt = 0; sagephase = 0; hardcoreAt = 0;
timerstopped = false; timerstopped = false;
@ -347,6 +346,7 @@ EX void initgame() {
cheater = 0; cheater = 0;
if(autocheat) cheater = 1; if(autocheat) cheater = 1;
if(!wfc::use_eclectic) cheater = 1; if(!wfc::use_eclectic) cheater = 1;
if(!autocheat && !cheater && geometry == gNormal) patterns::whichShape = 0;
hauntedWarning = false; hauntedWarning = false;
if(!autocheat) { if(!autocheat) {
timerghost = true; timerghost = true;