1
0
mirror of https://github.com/zenorogue/hyperrogue.git synced 2024-11-17 10:44:48 +00:00

racing:: race angle now defaults correctly to 90 degrees

This commit is contained in:
Zeno Rogue 2019-01-17 01:03:00 +01:00
parent 4c19618cbb
commit 07b8c37247

View File

@ -918,7 +918,7 @@ void race_projection() {
dialog::addSelItem(XLAT("race angle"), fts(race_angle), 'a');
dialog::add_action([] () {
dialog::editNumber(race_angle, 0, 360, 15, 0, XLAT("race angle"), "");
dialog::editNumber(race_angle, 0, 360, 15, 90, XLAT("race angle"), "");
int q = conformal::model_orientation - race_angle;
dialog::reaction = [q] () { conformal::model_orientation = race_angle + q; };
});