1
0
mirror of https://github.com/zenorogue/hyperrogue.git synced 2024-12-24 01:00:25 +00:00

ignore the land structure for the racing achievement

This commit is contained in:
Zeno Rogue 2022-10-06 12:56:50 +02:00
parent 8b6effba1b
commit 07ce60c3ef

View File

@ -129,10 +129,13 @@ EX bool wrongMode(char flags) {
if(tour::on) return true;
#endif
eLandStructure dls = lsNiceWalls;
if(flags == rg::special_geometry || flags == rg::racing || flags == rg::princess)
if(flags == rg::special_geometry || flags == rg::princess)
dls = lsSingle;
if(flags == rg::chaos)
dls = lsChaos;
/* in the official racing achievements, the tracks are saved maps anyway */
if(flags == rg::racing)
dls = land_structure;
if(land_structure != dls) return true;
if(numplayers() > 1 && !multi::friendly_fire) return true;