diff options
| author | Japa | 2010-04-24 12:23:16 +0000 |
|---|---|---|
| committer | Japa | 2010-04-24 12:23:16 +0000 |
| commit | 701514f5c7e0df61038bb2d6b4991956c56c8fc4 (patch) | |
| tree | 8bd9eefcdc90289f25e1752d8f5f797a4d76dfe7 /UserInput.cpp | |
| parent | 3762a5ddf8a4f038d762cd2689afb421d50430c5 (diff) | |
| download | stonesense-701514f5c7e0df61038bb2d6b4991956c56c8fc4.tar.gz stonesense-701514f5c7e0df61038bb2d6b4991956c56c8fc4.tar.bz2 stonesense-701514f5c7e0df61038bb2d6b4991956c56c8fc4.tar.xz | |
fixed some crashes that occur when re-loading configs.
should be ok now.
Diffstat (limited to 'UserInput.cpp')
| -rw-r--r-- | UserInput.cpp | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/UserInput.cpp b/UserInput.cpp index 2751620..586aa32 100644 --- a/UserInput.cpp +++ b/UserInput.cpp @@ -212,6 +212,7 @@ void doKeys(int Key) paintboard();
}
if(Key == ALLEGRO_KEY_G){
+ flushImgFiles();
loadGraphicsFromDisk();
timeToReloadConfig = true;
timeToReloadSegment = true;
|
