mirror of
https://github.com/celisej567/source-engine.git
synced 2026-01-03 05:49:41 +03:00
upload "kind" alien swarm
This commit is contained in:
@@ -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 );
|
||||
|
||||
|
||||
Reference in New Issue
Block a user