mirror of
https://github.com/luanti-org/luanti.git
synced 2025-06-27 16:36:03 +00:00
Remove dead code behind Irrlicht version checks
This commit is contained in:
parent
2dafce6206
commit
3bafbaac49
11 changed files with 14 additions and 133 deletions
|
@ -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;
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue