add source-sdk-2013

This commit is contained in:
nillerusr
2022-03-01 23:00:42 +03:00
parent 88b8830e8b
commit edc8d6c584
3288 changed files with 3734 additions and 1062458 deletions

View File

@@ -188,9 +188,7 @@ void VideoPanel::OnKeyCodePressed( vgui::KeyCode code )
code == KEY_XBUTTON_X ||
code == KEY_XBUTTON_Y ||
code == KEY_XBUTTON_START ||
code == KEY_XBUTTON_BACK ||
code == STEAMCONTROLLER_A ||
code == STEAMCONTROLLER_B )
code == KEY_XBUTTON_BACK )
{
OnClose();
}
@@ -350,8 +348,7 @@ bool VideoPanel_Create( unsigned int nXPos, unsigned int nYPos,
// Start it going
if ( pVideoPanel->BeginPlayback( pVideoFilename ) == false )
{
pVideoPanel->MarkForDeletion();
pVideoPanel = NULL;
delete pVideoPanel;
return false;
}