1
0
mirror of https://github.com/zenorogue/hyperrogue.git synced 2024-11-23 21:07:17 +00:00

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

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