1
0
mirror of https://github.com/zenorogue/hyperrogue.git synced 2026-04-28 19:41:23 +00:00

preparing for daily

This commit is contained in:
Zeno Rogue
2018-05-01 00:21:18 +02:00
parent 02aac914d4
commit 67ad5f2f4b
8 changed files with 64 additions and 32 deletions

View File

@@ -90,6 +90,9 @@ bool wrongMode(char flags) {
if((geometry != gNormal) != (flags == rg::geometry)) return true;
if(shmup::on != (flags == rg::shmup)) return true;
#if CAP_DAILY
if(daily::on != (flags == rg::daily)) return true;
#endif
if(randomPatternsMode) return true;
if(yendor::on) return true;
if(peace::on) return true;
@@ -598,6 +601,9 @@ void achievement_final(bool really_final) {
if(chaosmode) specials++;
if(nonbitrunc) specials++;
if(gp::on) specials++;
#if CAP_DALIY
if(daily::on) return;
#endif
if(inv::on) specials++;
if(specials > 1) return;