preparing for daily

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

No files matched your search

+6
View File
@@ -181,6 +181,10 @@ void initgame() {
if(shmup::on) shmup::init();
#if CAP_DAILY
daily::split();
#endif
// extern int sightrange; sightrange = 9;
// cwt.c->land = laHell; items[itHell] = 10;
for(int i=BARLEV; i>=7 - getDistLimit() - genrange_bonus; i--) {
@@ -1184,6 +1188,8 @@ void restartGame(char switchWhat, bool push, bool keep_screens) {
inv::on = false;
princess::challenge = false;
}
if(switchWhat == rg::daily)
daily::setup();
if(switchWhat == rg::princess) {
princess::challenge = !princess::challenge;
firstland = princess::challenge ? laPalace : laIce;