mirror of
https://github.com/zenorogue/hyperrogue.git
synced 2024-12-25 01:20:37 +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;
|
if(tour::on) return true;
|
||||||
#endif
|
#endif
|
||||||
eLandStructure dls = lsNiceWalls;
|
eLandStructure dls = lsNiceWalls;
|
||||||
if(flags == rg::special_geometry || flags == rg::racing || flags == rg::princess)
|
if(flags == rg::special_geometry || flags == rg::princess)
|
||||||
dls = lsSingle;
|
dls = lsSingle;
|
||||||
if(flags == rg::chaos)
|
if(flags == rg::chaos)
|
||||||
dls = lsChaos;
|
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(land_structure != dls) return true;
|
||||||
if(numplayers() > 1 && !multi::friendly_fire) return true;
|
if(numplayers() > 1 && !multi::friendly_fire) return true;
|
||||||
|
Loading…
Reference in New Issue
Block a user