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:
parent
c80df92acb
commit
f6092de56f
@ -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();
|
||||||
});
|
});
|
||||||
}
|
}
|
||||||
|
Loading…
Reference in New Issue
Block a user