diff --git a/source/common/engine/i_interface.h b/source/common/engine/i_interface.h index 48cd2b95d..c391e21dc 100644 --- a/source/common/engine/i_interface.h +++ b/source/common/engine/i_interface.h @@ -46,7 +46,6 @@ struct SystemCallbacks void (*LanguageChanged)(const char*); bool (*OkForLocalization)(FTextureID, const char*); FConfigFile* (*GetConfig)(); - bool (*WantEscape)(); }; extern SystemCallbacks sysCallbacks; diff --git a/source/core/gamecontrol.cpp b/source/core/gamecontrol.cpp index 633c6e578..fdb5f65d9 100644 --- a/source/core/gamecontrol.cpp +++ b/source/core/gamecontrol.cpp @@ -543,11 +543,6 @@ static void System_SetTransition(int type) nextwipe = type; } -bool WantEscape() -{ - return gi->WantEscape(); -} - void I_StartupJoysticks(); @@ -597,7 +592,6 @@ int GameMain() nullptr, nullptr, []() ->FConfigFile* { return GameConfig; }, - WantEscape, }; try