mirror of
https://github.com/nillerusr/source-engine.git
synced 2024-12-22 14:16:50 +00:00
gameui: fix disconnect in video settings for multiplayer games
This commit is contained in:
parent
035861bf52
commit
047f8b1185
@ -508,7 +508,7 @@ public:
|
|||||||
if ( panel == m_pDXLevel && RequiresRestart() )
|
if ( panel == m_pDXLevel && RequiresRestart() )
|
||||||
{
|
{
|
||||||
// notify the user that this will require a disconnect
|
// 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->AddActionSignalTarget( this );
|
||||||
box->SetCancelCommand(new KeyValues("ResetDXLevelCombo"));
|
box->SetCancelCommand(new KeyValues("ResetDXLevelCombo"));
|
||||||
box->DoModal();
|
box->DoModal();
|
||||||
|
6
wscript
6
wscript
@ -239,9 +239,9 @@ def define_platform(conf):
|
|||||||
'_DLL_EXT=.so'
|
'_DLL_EXT=.so'
|
||||||
])
|
])
|
||||||
|
|
||||||
if conf.env.DEST_OS != 'win32':
|
# if conf.env.DEST_OS != 'win32':
|
||||||
conf.define('NO_MALLOC_OVERRIDE', 1)
|
# conf.define('NO_MALLOC_OVERRIDE', 1)
|
||||||
conf.define('NO_MEMOVERRIDE_NEW_DELETE', 1)
|
# conf.define('NO_MEMOVERRIDE_NEW_DELETE', 1)
|
||||||
|
|
||||||
if conf.options.DEBUG_ENGINE:
|
if conf.options.DEBUG_ENGINE:
|
||||||
conf.env.append_unique('DEFINES', [
|
conf.env.append_unique('DEFINES', [
|
||||||
|
Loading…
Reference in New Issue
Block a user