summaryrefslogtreecommitdiff
path: root/src/game.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'src/game.cpp')
-rw-r--r--src/game.cpp5
1 files changed, 5 insertions, 0 deletions
diff --git a/src/game.cpp b/src/game.cpp
index 9cc2a198..9044a711 100644
--- a/src/game.cpp
+++ b/src/game.cpp
@@ -47,6 +47,7 @@ volatile bool action_time = false;
int current_npc, server_tick;
extern unsigned char screen_mode;
int fps = 0, frame = 0;
+bool displayPathToMouse = false;
OkDialog *deathNotice = NULL;
@@ -176,6 +177,10 @@ void do_input()
action(3, 0);
action_time = false;
}
+ else if ((keysym.sym == SDLK_F6))
+ {
+ displayPathToMouse = !displayPathToMouse;
+ }
// Emotions, Skill dialog
if (keysym.mod & KMOD_ALT && action_time)