aboutsummaryrefslogtreecommitdiff
path: root/src/client/game.cpp
diff options
context:
space:
mode:
authornumzero <numzer0@yandex.ru>2023-02-22 21:38:32 +0300
committersfan5 <sfan5@live.de>2023-03-01 09:06:23 +0100
commitd6be6682ec69706b765ab51863bcd5805a7cbd7d (patch)
treed35aaf0ac12e74f4bac9a597fe524209ee2b14e4 /src/client/game.cpp
parent39f4d26177ec1c8f246133c532a42ef7429bc36d (diff)
downloadminetest-d6be6682ec69706b765ab51863bcd5805a7cbd7d.tar.xz
Drop dependency on IrrCompileConfig
The only remaining thing is IRRLICHT_SDK_VERSION via irrlicht.h
Diffstat (limited to 'src/client/game.cpp')
-rw-r--r--src/client/game.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/client/game.cpp b/src/client/game.cpp
index c5dc8f6d9..edd0039e9 100644
--- a/src/client/game.cpp
+++ b/src/client/game.cpp
@@ -2549,7 +2549,7 @@ void Game::checkZoomEnabled()
void Game::updateCameraDirection(CameraOrientation *cam, float dtime)
{
-#if !defined(__ANDROID__) && IRRLICHT_VERSION_MT_REVISION >= 9
+#ifndef __ANDROID__
if (isMenuActive())
device->getCursorControl()->setRelativeMode(false);
else