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,6 +914,7 @@ void race_projection() {
player_relative = !player_relative; player_relative = !player_relative;
if(pmodel == mdBand || pmodel == mdHalfplane) if(pmodel == mdBand || pmodel == mdHalfplane)
pmodel = mdDisk; pmodel = mdDisk;
if(racing::on)
set_view(); set_view();
}); });
} }