aboutsummaryrefslogtreecommitdiff
path: root/src/irrlichttypes.h
diff options
context:
space:
mode:
authorsfan5 <sfan5@live.de>2023-02-18 00:29:34 +0100
committersfan5 <sfan5@live.de>2023-02-18 16:46:51 +0100
commit3bafbaac49e3d5d1d633b26f60fd4e919399819b (patch)
treeb70231e8eb18fdf8b3d2cf2007919a5e46540db0 /src/irrlichttypes.h
parent2dafce6206dfcf02f3c31cf1abe819e901489704 (diff)
downloadminetest-3bafbaac49e3d5d1d633b26f60fd4e919399819b.tar.xz
Remove dead code behind Irrlicht version checks
Diffstat (limited to 'src/irrlichttypes.h')
-rw-r--r--src/irrlichttypes.h3
1 files changed, 1 insertions, 2 deletions
diff --git a/src/irrlichttypes.h b/src/irrlichttypes.h
index 93c2d105b..343eba1dc 100644
--- a/src/irrlichttypes.h
+++ b/src/irrlichttypes.h
@@ -31,7 +31,7 @@ using namespace irr;
namespace irr {
-#if (IRRLICHT_VERSION_MAJOR == 1 && IRRLICHT_VERSION_MINOR >= 9)
+// Define missing constant for vector math with 16-bit numbers
namespace core {
template <typename T>
inline T roundingError();
@@ -42,7 +42,6 @@ namespace core {
return 0;
}
}
-#endif
}