1
0
mirror of https://github.com/zenorogue/hyperrogue.git synced 2025-12-19 04:18:06 +00:00

crossbow:: peace, dual, and non-shmup multiplayer are incompatible

This commit is contained in:
Zeno Rogue
2023-10-28 08:22:31 +02:00
parent e8ecccdf53
commit c36da1985c
3 changed files with 8 additions and 1 deletions

View File

@@ -1481,12 +1481,14 @@ EX void switch_game_mode(char switchWhat) {
tactic::on = yendor::on = princess::challenge =
randomPatternsMode = inv::on = false;
racing::on = false;
bow::weapon = bow::wBlade;
break;
case rg::dualmode:
stop_tour(); tour::on = false;
racing::on = false;
yendor::on = tactic::on = princess::challenge = false;
bow::weapon = bow::wBlade;
if(!dual::state) dual::enable();
else dual::disable();
break;
@@ -1569,6 +1571,7 @@ EX void switch_game_mode(char switchWhat) {
shmup::on = !shmup::on;
princess::challenge = false;
if(!shmup::on) racing::on = false;
if(!shmup::on && multi::players > 1) bow::weapon = bow::wBlade;
break;
case rg::randpattern: