mirror of
https://github.com/zenorogue/hyperrogue.git
synced 2024-12-25 01:20:37 +00:00
fixed a bug with divisibility by 3 in torus config
This commit is contained in:
parent
ce2015920e
commit
80da98b265
@ -197,9 +197,9 @@ void showTorusConfig() {
|
|||||||
dialog::addInfo("incompatible with bitruncating", 0x808080), valid = 0;
|
dialog::addInfo("incompatible with bitruncating", 0x808080), valid = 0;
|
||||||
}
|
}
|
||||||
else if(simple) {
|
else if(simple) {
|
||||||
if(torusconfig::newsdx & 1)
|
if(torusconfig::newsdx % 3)
|
||||||
dialog::addInfo(XLAT("best if %1 is divisible by %2", "x", "3"), 0x808080), valid = 1;
|
dialog::addInfo(XLAT("best if %1 is divisible by %2", "x", "3"), 0x808080), valid = 1;
|
||||||
if(torusconfig::newsdy & 1)
|
if(torusconfig::newsdy % 3)
|
||||||
dialog::addInfo(XLAT("best if %1 is divisible by %2", "y", "3"), 0x808080), valid = 1;
|
dialog::addInfo(XLAT("best if %1 is divisible by %2", "y", "3"), 0x808080), valid = 1;
|
||||||
}
|
}
|
||||||
else {
|
else {
|
||||||
|
Loading…
Reference in New Issue
Block a user