summaryrefslogtreecommitdiff
path: root/UserInput.cpp
diff options
context:
space:
mode:
authorJapa2011-02-23 01:28:19 +0000
committerJapa2011-02-23 01:28:19 +0000
commitd654ce4b90956f57eb1a1b9c1d7069e0191016d3 (patch)
tree6d497f88e67cb643ebb124528c9ffe4266e988b8 /UserInput.cpp
parentf06e0e44cc5eb98c8606dcd061f04c857e18acc1 (diff)
downloadstonesense-d654ce4b90956f57eb1a1b9c1d7069e0191016d3.tar.gz
stonesense-d654ce4b90956f57eb1a1b9c1d7069e0191016d3.tar.bz2
stonesense-d654ce4b90956f57eb1a1b9c1d7069e0191016d3.tar.xz
'Fixed' the crash that happened when pressing G.
as in, not fixed at all, instead just disabled the function completely.
Diffstat (limited to 'UserInput.cpp')
-rw-r--r--UserInput.cpp6
1 files changed, 2 insertions, 4 deletions
diff --git a/UserInput.cpp b/UserInput.cpp
index 7e3e9e9..fc43a94 100644
--- a/UserInput.cpp
+++ b/UserInput.cpp
@@ -212,10 +212,8 @@ void doKeys(int Key)
paintboard();
}
if(Key == ALLEGRO_KEY_G){
- flushImgFiles();
- loadGraphicsFromDisk();
- timeToReloadConfig = true;
- timeToReloadSegment = true;
+ //contentLoader.reload_configs();
+ //timeToReloadSegment = true;
}
if(Key == ALLEGRO_KEY_U){
config.show_stockpiles = !config.show_stockpiles;