diff options
author | Andrei Karas <akaras@inbox.ru> | 2012-06-20 00:34:39 +0300 |
---|---|---|
committer | Andrei Karas <akaras@inbox.ru> | 2012-06-21 00:59:10 +0300 |
commit | aa68511ad3d339be8c8f42fc6c083b696d8e687b (patch) | |
tree | 1bf138439c28b4a879c6b35e4361801bd5e1d246 /src/being.cpp | |
parent | 12002b81544038bc5855189c74aca761d0c08f1b (diff) | |
download | ManaVerse-aa68511ad3d339be8c8f42fc6c083b696d8e687b.tar.gz ManaVerse-aa68511ad3d339be8c8f42fc6c083b696d8e687b.tar.bz2 ManaVerse-aa68511ad3d339be8c8f42fc6c083b696d8e687b.tar.xz ManaVerse-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.cpp | 2 |
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); } |