summaryrefslogtreecommitdiff
path: root/src/being.cpp
diff options
context:
space:
mode:
authorAndrei Karas <akaras@inbox.ru>2012-06-20 00:34:39 +0300
committerAndrei Karas <akaras@inbox.ru>2012-06-21 00:59:10 +0300
commitaa68511ad3d339be8c8f42fc6c083b696d8e687b (patch)
tree1bf138439c28b4a879c6b35e4361801bd5e1d246 /src/being.cpp
parent12002b81544038bc5855189c74aca761d0c08f1b (diff)
downloadmv-aa68511ad3d339be8c8f42fc6c083b696d8e687b.tar.gz
mv-aa68511ad3d339be8c8f42fc6c083b696d8e687b.tar.bz2
mv-aa68511ad3d339be8c8f42fc6c083b696d8e687b.tar.xz
mv-aa68511ad3d339be8c8f42fc6c083b696d8e687b.zip
Add delayed images load.
Can work for now only in OpenGL modes.
Diffstat (limited to 'src/being.cpp')
-rw-r--r--src/being.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/being.cpp b/src/being.cpp
index 89aa5275d..740989993 100644
--- a/src/being.cpp
+++ b/src/being.cpp
@@ -1786,7 +1786,7 @@ void Being::setSprite(unsigned int slot, int id, std::string color,
color = info.getDyeColorsString(colorId);
filename = combineDye(filename, color);
- equipmentSprite = AnimatedSprite::load(
+ equipmentSprite = AnimatedSprite::delayedLoad(
paths.getStringValue("sprites") + filename);
}