diff options
Diffstat (limited to 'src/resources/spritedef.cpp')
-rw-r--r-- | src/resources/spritedef.cpp | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/src/resources/spritedef.cpp b/src/resources/spritedef.cpp index 02b46f1cf..a4ebc6f7e 100644 --- a/src/resources/spritedef.cpp +++ b/src/resources/spritedef.cpp @@ -340,6 +340,10 @@ void SpriteDef::loadAnimation(XmlNodePtr animationNode, repeat --; } } + else if (xmlNameEqual(frameNode, "pause")) + { + animation->addPause(delay, rand); + } else if (xmlNameEqual(frameNode, "end")) { animation->addTerminator(rand); |