summaryrefslogtreecommitdiff
path: root/src/resources/animation/animation.cpp
diff options
context:
space:
mode:
authorAndrei Karas <akaras@inbox.ru>2016-12-29 18:17:49 +0300
committerAndrei Karas <akaras@inbox.ru>2016-12-29 18:17:49 +0300
commit3f2c03e33a929e1b2b78e00a4246216a8ea258a0 (patch)
tree3ff9eb53b056425100402b277dbbb58ab17a2a8e /src/resources/animation/animation.cpp
parent30c8e376a1c45043863e6ad8b04186eabb711487 (diff)
downloadmanaplus-3f2c03e33a929e1b2b78e00a4246216a8ea258a0.tar.gz
manaplus-3f2c03e33a929e1b2b78e00a4246216a8ea258a0.tar.bz2
manaplus-3f2c03e33a929e1b2b78e00a4246216a8ea258a0.tar.xz
manaplus-3f2c03e33a929e1b2b78e00a4246216a8ea258a0.zip
Remove unused function from animation.
Diffstat (limited to 'src/resources/animation/animation.cpp')
-rw-r--r--src/resources/animation/animation.cpp5
1 files changed, 0 insertions, 5 deletions
diff --git a/src/resources/animation/animation.cpp b/src/resources/animation/animation.cpp
index 1a10f5224..a657823e6 100644
--- a/src/resources/animation/animation.cpp
+++ b/src/resources/animation/animation.cpp
@@ -55,11 +55,6 @@ void Animation::addTerminator(const int rand) noexcept2
addFrame(nullptr, 0, 0, 0, rand);
}
-bool Animation::isTerminator(const Frame &candidate) noexcept2
-{
- return (!candidate.image && candidate.type == FrameType::ANIMATION);
-}
-
void Animation::addJump(const std::string &name, const int rand) noexcept2
{
Frame frame = { nullptr, 0, 0, 0, rand, FrameType::JUMP, name };