summaryrefslogtreecommitdiff
path: root/src/resources/spritedef.h
diff options
context:
space:
mode:
authorAndrei Karas <akaras@inbox.ru>2013-04-10 00:33:27 +0300
committerAndrei Karas <akaras@inbox.ru>2013-04-10 00:33:27 +0300
commita0c7a0e2d34a13f2c3e86f662e352977ebe2ae73 (patch)
tree15996308da765b18751048c6bdaeb81926959328 /src/resources/spritedef.h
parentc5ff42706d5ff540b5f557fa1a2b1924a6cdf07b (diff)
downloadplus-a0c7a0e2d34a13f2c3e86f662e352977ebe2ae73.tar.gz
plus-a0c7a0e2d34a13f2c3e86f662e352977ebe2ae73.tar.bz2
plus-a0c7a0e2d34a13f2c3e86f662e352977ebe2ae73.tar.xz
plus-a0c7a0e2d34a13f2c3e86f662e352977ebe2ae73.zip
Add option to left all per map sprites in memory if once was loaded.
This can prevent random lags and also can use more memory.
Diffstat (limited to 'src/resources/spritedef.h')
-rw-r--r--src/resources/spritedef.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/resources/spritedef.h b/src/resources/spritedef.h
index ebccc2bd7..3a8fe5a01 100644
--- a/src/resources/spritedef.h
+++ b/src/resources/spritedef.h
@@ -118,7 +118,7 @@ class SpriteDef final : public Resource
* Loads a sprite definition file.
*/
static SpriteDef *load(const std::string &file,
- const int variant) A_WARN_UNUSED;
+ const int variant, bool prot) A_WARN_UNUSED;
/**
* Returns the specified action.