summaryrefslogtreecommitdiff
path: root/UserInput.cpp
diff options
context:
space:
mode:
authorJonas Ask2009-11-18 01:04:49 +0000
committerJonas Ask2009-11-18 01:04:49 +0000
commit3e4184e7996cac050237b0c80ac6d0982b7cb57e (patch)
treeb7abc98710a26f57a146b1f8a08c2e51501869d9 /UserInput.cpp
parent2ccb40b30864de12c92a04e2f0441fd49ba6d06f (diff)
downloadstonesense-3e4184e7996cac050237b0c80ac6d0982b7cb57e.tar.gz
stonesense-3e4184e7996cac050237b0c80ac6d0982b7cb57e.tar.bz2
stonesense-3e4184e7996cac050237b0c80ac6d0982b7cb57e.tar.xz
FollowDF feature off by default.
Fixed and issue with the previous revision of the segment size Config.cpp. Added a runtime toggle for creature names. Hotkey N.
Diffstat (limited to 'UserInput.cpp')
-rw-r--r--UserInput.cpp4
1 files changed, 4 insertions, 0 deletions
diff --git a/UserInput.cpp b/UserInput.cpp
index 3e950e5..db07d84 100644
--- a/UserInput.cpp
+++ b/UserInput.cpp
@@ -144,6 +144,10 @@ void doKeys(){
config.show_hidden_blocks = !config.show_hidden_blocks;
timeToReloadSegment = true;
}
+ if(key[KEY_N]){
+ config.show_creature_names = !config.show_creature_names;
+ timeToReloadSegment = true;
+ }
if(key[KEY_F2]){
config.show_osd = !config.show_osd;
timeToReloadSegment = true;