- moved the game interface function to d_menu

This commit is contained in:
Christoph Oelckers 2019-11-28 01:30:24 +01:00
parent 4e5f59a373
commit b12377962a
2 changed files with 6 additions and 7 deletions

View file

@ -416,6 +416,12 @@ class MainMenu : public DukeListMenu
//
//----------------------------------------------------------------------------
bool GameInterface::mouseInactiveConditional(bool condition) // can hopefully go away once the menu refactor is complete
{
return condition;
}
void GameInterface::MenuOpened()
{
S_PauseSounds(true);

View file

@ -5435,13 +5435,6 @@ bool GameInterface::mouseInactiveConditional(bool condition)
return MOUSEINACTIVECONDITIONAL(condition);
}
#else
bool GameInterface::mouseInactiveConditional(bool condition)
{
return condition;
}
#endif
END_DUKE_NS