fixed crash on changing projection while not in race

This commit is contained in:
Zeno Rogue 2019-01-18 21:04:54 +01:00
parent c80df92acb
commit f6092de56f
1 changed files with 2 additions and 1 deletions

View File

@ -914,7 +914,8 @@ void race_projection() {
player_relative = !player_relative;
if(pmodel == mdBand || pmodel == mdHalfplane)
pmodel = mdDisk;
set_view();
if(racing::on)
set_view();
});
}
else dialog::addBreak(100);