1
0
mirror of https://github.com/zenorogue/hyperrogue.git synced 2024-06-23 13:43:19 +00:00

3d:: hide_player() off outside perspective

This commit is contained in:
Zeno Rogue 2019-03-20 18:32:21 +01:00
parent 01a2f0cc5a
commit 556a806c68

View File

@ -17,7 +17,7 @@ bool mmspatial, mmhigh, mmmon, mmitem;
int detaillevel = 0;
bool hide_player() {
return DIM == 3 && playermoved && vid.yshift == 0 && vid.sspeed > -5;
return DIM == 3 && playermoved && vid.yshift == 0 && vid.sspeed > -5 && pmodel == mdPerspective;
}
hookset<bool(int sym, int uni)> *hooks_handleKey;