diff options
author | Andrei Karas <akaras@inbox.ru> | 2012-10-03 17:04:56 +0300 |
---|---|---|
committer | Andrei Karas <akaras@inbox.ru> | 2012-10-03 17:51:24 +0300 |
commit | 4dc93e343e0fb4990320e1056bca666e8ce8c3d9 (patch) | |
tree | d2a9220f19605f450942a0a38a18512916a3e500 /src/resources/resourcemanager.h | |
parent | 42411c8963eec06448a5dbf565add0540d6987f1 (diff) | |
download | manaplus-4dc93e343e0fb4990320e1056bca666e8ce8c3d9.tar.gz manaplus-4dc93e343e0fb4990320e1056bca666e8ce8c3d9.tar.bz2 manaplus-4dc93e343e0fb4990320e1056bca666e8ce8c3d9.tar.xz manaplus-4dc93e343e0fb4990320e1056bca666e8ce8c3d9.zip |
fix memory problems with atlases.
Diffstat (limited to 'src/resources/resourcemanager.h')
-rw-r--r-- | src/resources/resourcemanager.h | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/resources/resourcemanager.h b/src/resources/resourcemanager.h index 432d404b6..6f8b386f0 100644 --- a/src/resources/resourcemanager.h +++ b/src/resources/resourcemanager.h @@ -225,7 +225,7 @@ class ResourceManager final */ void release(Resource *const res); - void clearDeleted(); + void clearDeleted(bool full = true); static void logResource(const Resource *const res); |