mirror of
https://github.com/celisej567/source-sdk-2013.git
synced 2026-09-23 20:09:45 +03:00
Fix gcc 9/10 & mapbase build errors
This commit is contained in:
@@ -52,7 +52,7 @@ void CSkyboxSwapper::Precache( void )
|
||||
{
|
||||
if ( Q_strlen( m_iszSkyboxName.ToCStr() ) == 0 )
|
||||
{
|
||||
Warning( "skybox_swapper (%s) has no skybox specified!\n", GetEntityName() );
|
||||
Warning( "skybox_swapper (%s) has no skybox specified!\n", STRING(GetEntityName()) );
|
||||
return;
|
||||
}
|
||||
|
||||
@@ -73,8 +73,8 @@ void CSkyboxSwapper::InputTrigger( inputdata_t &inputdata )
|
||||
static ConVarRef skyname( "sv_skyname", false );
|
||||
if ( !skyname.IsValid() )
|
||||
{
|
||||
Warning( "skybox_swapper (%s) trigger input failed - cannot find 'sv_skyname' convar!\n", GetEntityName() );
|
||||
Warning( "skybox_swapper (%s) trigger input failed - cannot find 'sv_skyname' convar!\n", STRING(GetEntityName()) );
|
||||
return;
|
||||
}
|
||||
skyname.SetValue( m_iszSkyboxName.ToCStr() );
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user