1
0
mirror of https://github.com/zenorogue/hyperrogue.git synced 2026-03-19 19:39:43 +00:00

fixed some pconf/vpconf bugs

This commit is contained in:
Zeno Rogue
2020-11-08 12:09:42 +01:00
parent 32a61367b0
commit d7351d169a
3 changed files with 8 additions and 4 deletions

View File

@@ -29,7 +29,11 @@ EX int detaillevel = 0;
EX bool first_cell_to_draw = true;
EX bool in_perspective() {
return among(pmodel, mdPerspective, mdGeodesic);
return among(pconf.model, mdPerspective, mdGeodesic);
}
EX bool in_perspective_v() {
return among(vpconf.model, mdPerspective, mdGeodesic);
}
EX bool hide_player() {