mirror of
https://github.com/zenorogue/hyperrogue.git
synced 2024-12-18 15:00:26 +00:00
camera level higher when riding dragon
This commit is contained in:
parent
66560a6e9f
commit
2c16564663
@ -1161,6 +1161,7 @@ void centerpc(ld aspd) {
|
|||||||
if(GDIM == 3 && WDIM == 2) {
|
if(GDIM == 3 && WDIM == 2) {
|
||||||
geom3::do_auto_eye();
|
geom3::do_auto_eye();
|
||||||
int sl = snakelevel(cwt.at);
|
int sl = snakelevel(cwt.at);
|
||||||
|
if(isWorm(cwt.at->monst) && sl < 3) sl++;
|
||||||
if(sl || vid.eye) T = T * zpush(cgi.SLEV[sl] - cgi.FLOOR + vid.eye);
|
if(sl || vid.eye) T = T * zpush(cgi.SLEV[sl] - cgi.FLOOR + vid.eye);
|
||||||
}
|
}
|
||||||
#endif
|
#endif
|
||||||
|
Loading…
Reference in New Issue
Block a user