upload "kind" alien swarm

This commit is contained in:
nillerusr
2023-10-03 17:23:56 +03:00
parent b7bd94c52e
commit 7d3c0d8b5a
4229 changed files with 462903 additions and 495158 deletions

View File

@@ -1,4 +1,4 @@
//========= Copyright Valve Corporation, All rights reserved. ============//
//========= Copyright <20> 1996-2005, Valve Corporation, All rights reserved. ============//
//
// Purpose:
//
@@ -165,7 +165,7 @@ inline bool TokenWaiting( void )
if ( *p == '/' && *(p+1) == '/' )
return false;
if ( !V_isspace( *p ) || V_isalnum( *p ) )
if ( !V_isspace( *p ) || isalnum( *p ) )
return true;
p++;
@@ -286,7 +286,9 @@ void CEnvEffectsScript::SpriteEffectEvent( CEffectScriptElement *pEffect )
void CEnvEffectsScript::HandleAnimEvent ( animevent_t *pEvent )
{
if ( pEvent->event == AE_START_SCRIPTED_EFFECT )
int nEvent = pEvent->Event();
if ( nEvent == AE_START_SCRIPTED_EFFECT )
{
CEffectScriptElement *pCurrent = GetScriptElementByName( pEvent->options );
@@ -301,7 +303,7 @@ void CEnvEffectsScript::HandleAnimEvent ( animevent_t *pEvent )
return;
}
if ( pEvent->event == AE_STOP_SCRIPTED_EFFECT )
if ( nEvent == AE_STOP_SCRIPTED_EFFECT )
{
CEffectScriptElement *pCurrent = GetScriptElementByName( pEvent->options );