mirror of
https://github.com/zenorogue/hyperrogue.git
synced 2024-11-23 21:07:17 +00:00
expansion:: mod_allowed export
This commit is contained in:
parent
944f5e30af
commit
90669b6bb8
@ -435,7 +435,7 @@ enum eNumberCoding { ncNone, ncDistance, ncType, ncDebug, ncError };
|
|||||||
EX string ncnames[5] = { "NO", "distance", "type", "debug", "error" };
|
EX string ncnames[5] = { "NO", "distance", "type", "debug", "error" };
|
||||||
EX eNumberCoding number_coding = ncDistance;
|
EX eNumberCoding number_coding = ncDistance;
|
||||||
|
|
||||||
bool mod_allowed() {
|
EX bool mod_allowed() {
|
||||||
return cheater || autocheat || arcm::in() || tour::on;
|
return cheater || autocheat || arcm::in() || tour::on;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user