1
0
mirror of https://github.com/zenorogue/hyperrogue.git synced 2024-11-30 15:39:54 +00:00

gp:: in the dialog, slider ranges from 0 to 8 (not from 1 to 10)

This commit is contained in:
Zeno Rogue 2018-07-10 21:04:20 +02:00
parent c0d2a1cad6
commit cee40849e8

View File

@ -756,9 +756,9 @@ namespace hr { namespace gp {
else if(uni == 'f' && (config == loc(1,1) ? show_bitrunc : (show_nonthree || (config.first-config.second)%3 == 0))) else if(uni == 'f' && (config == loc(1,1) ? show_bitrunc : (show_nonthree || (config.first-config.second)%3 == 0)))
whirl_set(config, texture_remap); whirl_set(config, texture_remap);
else if(uni == 'x') else if(uni == 'x')
dialog::editNumber(config.first, 1, 10, 1, 1, "x", helptext()); dialog::editNumber(config.first, 0, 8, 1, 1, "x", helptext());
else if(uni == 'y') else if(uni == 'y')
dialog::editNumber(config.second, 1, 10, 1, 1, "y", helptext()); dialog::editNumber(config.second, 0, 8, 1, 1, "y", helptext());
else if(uni == 'z') else if(uni == 'z')
swap(config.first, config.second); swap(config.first, config.second);
else if(uni == '?' || sym == SDLK_F1 || uni == 'h' || uni == '2') else if(uni == '?' || sym == SDLK_F1 || uni == 'h' || uni == '2')