1
0
mirror of https://github.com/zenorogue/hyperrogue.git synced 2024-12-25 01:20:37 +00:00

fixed the bug in chamfered/expanded naming

This commit is contained in:
Zeno Rogue 2018-07-11 12:55:23 +02:00
parent 12047beb3a
commit 654796f028

View File

@ -638,8 +638,8 @@ namespace hr { namespace gp {
return XLAT("OFF"); return XLAT("OFF");
else if(param == loc(1, 1) && S3 == 3) else if(param == loc(1, 1) && S3 == 3)
return XLAT("bitruncated"); return XLAT("bitruncated");
else if(param == loc(2, 0) && S3 == 3) else if(param == loc(2, 0))
return XLAT("chamfered"); return S3 == 3 ? XLAT("chamfered") : XLAT("expanded");
else if(param == loc(3, 0) && S3 == 3) else if(param == loc(3, 0) && S3 == 3)
return XLAT("2x bitruncated"); return XLAT("2x bitruncated");
else { else {
@ -711,7 +711,7 @@ namespace hr { namespace gp {
} }
if(show_nonthree) { if(show_nonthree) {
dialog::addBoolItem(XLAT(S3 == 3 ? "expanded" : "chamfered"), param == loc(2,0), 'c'); dialog::addBoolItem(XLAT(S3 == 3 ? "chamfered" : "expanded"), param == loc(2,0), 'c');
dialog::lastItem().value = "GP(2,0)"; dialog::lastItem().value = "GP(2,0)";
} }