From acc9b40431e3f765ffb37f459f5da5718716008e Mon Sep 17 00:00:00 2001 From: Zeno Rogue Date: Fri, 11 Sep 2020 11:16:59 +0200 Subject: [PATCH] no_find_player option --- graph.cpp | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/graph.cpp b/graph.cpp index bfa1cbe7..d730be4a 100644 --- a/graph.cpp +++ b/graph.cpp @@ -5019,6 +5019,7 @@ EX void gamescreen(int _darken) { } EX bool nohelp; +EX bool no_find_player; EX void normalscreen() { help = "@"; @@ -5043,7 +5044,7 @@ EX void normalscreen() { displayButton(vid.xres-8, vid.yres-vid.fsize, XLAT("(v) menu"), 'v', 16); keyhandler = handleKeyNormal; - if(!playerfound && !anims::any_on() && !sphere) + if(!playerfound && !anims::any_on() && !sphere && !no_find_player) displayButton(current_display->xcenter, current_display->ycenter, XLAT(mousing ? "find the player" : "press SPACE to find the player"), ' ', 8); describeMouseover();