1
0
mirror of https://github.com/zenorogue/hyperrogue.git synced 2024-12-26 01:50:36 +00:00

2d3d:: no more player hiding if camera > 0

This commit is contained in:
Zeno Rogue 2019-05-09 17:01:29 +02:00
parent 2acfd99d17
commit 0a4ccb2b5c

View File

@ -19,7 +19,7 @@ int detaillevel = 0;
bool first_cell_to_draw = true; bool first_cell_to_draw = true;
bool hide_player() { bool hide_player() {
return DIM == 3 && playermoved && vid.yshift == 0 && vid.sspeed > -5 && pmodel == mdPerspective && first_cell_to_draw; return DIM == 3 && playermoved && vid.yshift == 0 && vid.sspeed > -5 && pmodel == mdPerspective && first_cell_to_draw && (WDIM == 3 || geom3::camera == 0);
} }
hookset<bool(int sym, int uni)> *hooks_handleKey; hookset<bool(int sym, int uni)> *hooks_handleKey;