summaryrefslogtreecommitdiff
path: root/src/resources/spritedef.cpp
diff options
context:
space:
mode:
authorYohann Ferreira <yohann_dot_ferreira_at_orange_dot_efer>2011-04-30 16:57:31 +0200
committerYohann Ferreira <yohann_dot_ferreira_at_orange_dot_efer>2011-04-30 16:57:31 +0200
commit908dceb882723460cde35ec8ef22927b702ab874 (patch)
tree0598a9cb5d720c66c619fd350d64453490b35143 /src/resources/spritedef.cpp
parent8a67e721880959b431d220e2d1fd5b60a4f11ad7 (diff)
parent0b1c6eb3c4941dc2d47ad3207bab4509ae1014cc (diff)
downloadmana-908dceb882723460cde35ec8ef22927b702ab874.tar.gz
mana-908dceb882723460cde35ec8ef22927b702ab874.tar.bz2
mana-908dceb882723460cde35ec8ef22927b702ab874.tar.xz
mana-908dceb882723460cde35ec8ef22927b702ab874.zip
Merge branch '0.5'
Conflicts: CMakeLists.txt po/fi.po po/fr.po src/gui/skilldialog.cpp src/localplayer.cpp src/net/manaserv/generalhandler.cpp src/net/tmwa/buysellhandler.cpp src/net/tmwa/generalhandler.cpp src/net/tmwa/playerhandler.cpp src/net/tmwa/specialhandler.cpp src/winver.h
Diffstat (limited to 'src/resources/spritedef.cpp')
-rw-r--r--src/resources/spritedef.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/resources/spritedef.cpp b/src/resources/spritedef.cpp
index 311c9d1a..51e7ae8e 100644
--- a/src/resources/spritedef.cpp
+++ b/src/resources/spritedef.cpp
@@ -268,7 +268,7 @@ void SpriteDef::loadAnimation(xmlNodePtr animationNode,
if (!img)
{
logger->log("No image at index %d", start + variant_offset);
- continue;
+ break;
}
animation->addFrame(img, delay, offsetX, offsetY);