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
1 changed files with 1 additions and 1 deletions

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; };
});