mirror of
https://github.com/zenorogue/hyperrogue.git
synced 2024-12-24 17:10:36 +00:00
ignore the land structure for the racing achievement
This commit is contained in:
parent
8b6effba1b
commit
07ce60c3ef
@ -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;
|
||||
|
Loading…
Reference in New Issue
Block a user