summaryrefslogtreecommitdiff
path: root/UserInput.cpp
diff options
context:
space:
mode:
authorCaldfir2012-04-22 18:54:42 -0700
committerCaldfir2012-04-22 18:54:42 -0700
commit2fda3e5e828f085de1e533ae437cf7e649752da7 (patch)
treeef16bcb42817bd6e0a5569e79153f9d0be0e6cee /UserInput.cpp
parentd12be67bcf24c66c66b2e5a4946250da40b4156b (diff)
downloadstonesense-2fda3e5e828f085de1e533ae437cf7e649752da7.tar.gz
stonesense-2fda3e5e828f085de1e533ae437cf7e649752da7.tar.bz2
stonesense-2fda3e5e828f085de1e533ae437cf7e649752da7.tar.xz
Added basic job icon support (very placeholderish icons).
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 96c31fb..90e9a24 100644
--- a/UserInput.cpp
+++ b/UserInput.cpp
@@ -236,6 +236,10 @@ void doKeys(int Key)
config.show_creature_professions = !config.show_creature_professions;
timeToReloadSegment = true;
}
+ if(Key == ALLEGRO_KEY_J){
+ config.show_creature_jobs = !config.show_creature_jobs;
+ timeToReloadSegment = true;
+ }
if(Key == ALLEGRO_KEY_C){
config.truncate_walls++;
if (config.truncate_walls > 4) config.truncate_walls = 0;