aboutsummaryrefslogtreecommitdiff
path: root/src/client/content_cao.cpp
diff options
context:
space:
mode:
authorsfan5 <sfan5@live.de>2021-03-31 13:15:47 +0200
committerGitHub <noreply@github.com>2021-03-31 13:15:47 +0200
commit1e4913cd76f5d31456d04a5ce23e66d5c60060de (patch)
treeb97fe77b159d158d88ff87df59effd821c0b2e1d /src/client/content_cao.cpp
parent0d90ed6d921baefbb1a969df69f7b86e702e962f (diff)
downloadminetest-1e4913cd76f5d31456d04a5ce23e66d5c60060de.tar.gz
minetest-1e4913cd76f5d31456d04a5ce23e66d5c60060de.tar.bz2
minetest-1e4913cd76f5d31456d04a5ce23e66d5c60060de.zip
Irrlicht support code maintenance
Diffstat (limited to 'src/client/content_cao.cpp')
-rw-r--r--src/client/content_cao.cpp3
1 files changed, 0 insertions, 3 deletions
diff --git a/src/client/content_cao.cpp b/src/client/content_cao.cpp
index 97ae9afc4..63b8821f4 100644
--- a/src/client/content_cao.cpp
+++ b/src/client/content_cao.cpp
@@ -1473,11 +1473,8 @@ void GenericCAO::updateAnimation()
if (m_animated_meshnode->getAnimationSpeed() != m_animation_speed)
m_animated_meshnode->setAnimationSpeed(m_animation_speed);
m_animated_meshnode->setTransitionTime(m_animation_blend);
-// Requires Irrlicht 1.8 or greater
-#if (IRRLICHT_VERSION_MAJOR == 1 && IRRLICHT_VERSION_MINOR >= 8) || IRRLICHT_VERSION_MAJOR > 1
if (m_animated_meshnode->getLoopMode() != m_animation_loop)
m_animated_meshnode->setLoopMode(m_animation_loop);
-#endif
}
void GenericCAO::updateAnimationSpeed()