Skip to content

Commit

Permalink
gameui: fix disconnect in video settings for multiplayer games
Browse files Browse the repository at this point in the history
  • Loading branch information
nillerusr committed Oct 7, 2023
1 parent 035861b commit 047f8b1
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 4 deletions.
2 changes: 1 addition & 1 deletion gameui/OptionsSubVideo.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -508,7 +508,7 @@ class COptionsSubVideoAdvancedDlg : public vgui::Frame
if ( panel == m_pDXLevel && RequiresRestart() )
{
// notify the user that this will require a disconnect
QueryBox *box = new QueryBox("#GameUI_SettingRequiresDisconnect_Title", "#GameUI_SettingRequiresDisconnect_Info");
QueryBox *box = new QueryBox("#GameUI_SettingRequiresDisconnect_Title", "#GameUI_SettingRequiresDisconnect_Info", this);
box->AddActionSignalTarget( this );
box->SetCancelCommand(new KeyValues("ResetDXLevelCombo"));
box->DoModal();
Expand Down
6 changes: 3 additions & 3 deletions wscript
Original file line number Diff line number Diff line change
Expand Up @@ -239,9 +239,9 @@ def define_platform(conf):
'_DLL_EXT=.so'
])

if conf.env.DEST_OS != 'win32':
conf.define('NO_MALLOC_OVERRIDE', 1)
conf.define('NO_MEMOVERRIDE_NEW_DELETE', 1)
# if conf.env.DEST_OS != 'win32':
# conf.define('NO_MALLOC_OVERRIDE', 1)
# conf.define('NO_MEMOVERRIDE_NEW_DELETE', 1)

if conf.options.DEBUG_ENGINE:
conf.env.append_unique('DEFINES', [
Expand Down

0 comments on commit 047f8b1

Please sign in to comment.