aboutsummaryrefslogtreecommitdiff
path: root/src/gui/guiChatConsole.cpp
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/gui/guiChatConsole.cpp
parent2dafce6206dfcf02f3c31cf1abe819e901489704 (diff)
downloadminetest-3bafbaac49e3d5d1d633b26f60fd4e919399819b.tar.xz
Remove dead code behind Irrlicht version checks
Diffstat (limited to 'src/gui/guiChatConsole.cpp')
-rw-r--r--src/gui/guiChatConsole.cpp2
1 files changed, 0 insertions, 2 deletions
diff --git a/src/gui/guiChatConsole.cpp b/src/gui/guiChatConsole.cpp
index 787afed7e..df4fd466b 100644
--- a/src/gui/guiChatConsole.cpp
+++ b/src/gui/guiChatConsole.cpp
@@ -673,13 +673,11 @@ bool GUIChatConsole::OnEvent(const SEvent& event)
}
}
}
-#if (IRRLICHT_VERSION_MT_REVISION >= 2)
else if(event.EventType == EET_STRING_INPUT_EVENT)
{
prompt.input(std::wstring(event.StringInput.Str->c_str()));
return true;
}
-#endif
return Parent ? Parent->OnEvent(event) : false;
}