mirror of
https://github.com/zenorogue/hyperrogue.git
synced 2025-11-15 13:17:13 +00:00
fixed a bug with divisibility by 3 in torus config
This commit is contained in:
@@ -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 {
|
||||||
|
|||||||
Reference in New Issue
Block a user