From aa68511ad3d339be8c8f42fc6c083b696d8e687b Mon Sep 17 00:00:00 2001 From: Andrei Karas Date: Wed, 20 Jun 2012 00:34:39 +0300 Subject: Add delayed images load. Can work for now only in OpenGL modes. --- src/being.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'src/being.cpp') 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); } -- cgit v1.2.3-70-g09d2