1
0
mirror of https://github.com/zenorogue/hyperrogue.git synced 2025-08-30 01:07:57 +00:00

display a hint when player hidden

This commit is contained in:
Zeno Rogue
2022-03-27 19:12:10 +02:00
parent 00d640fa22
commit 14ed4b7603
4 changed files with 8 additions and 2 deletions

View File

@@ -841,7 +841,7 @@ EX bool isFloor(cell *c) {
}
EX void handle() {
if(!on) return;
if(playermoved || !on) return;
if(floor_dir == -1 || on_floor_of != centerover) {
vector<int> choices;
@@ -977,7 +977,6 @@ EX void handle() {
smooth(up, inverse(T) * direct_exp(dx / hypot_d(3, dx) * (eye_level + view_eps)))
);
if(use_T) rotate_view(inverse(spin_T));
playermoved = false;
auto nat = tC0(inverse(View));
if(invalid_point(nat)) {