You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
inline getstat
move dir and angles inside
rename overshadowed i -> j
int i inside for
rename tempEntity
inline effects
rename observerTarget
inline bVisible
specify ParticleEffect and ControlPoint variables
rename idx
rename iBuffAttachment
rename outer i
int iAttachType = GetAttachTypeFromString( pszAttachType );
1212
+
int iAttachType = GetAttachTypeFromString( pszPEAttachType );
1213
1213
if ( iAttachType == -1 )
1214
1214
{
1215
-
Warning("Invalid attach type specified for particle effect in model '%s' keyvalues section. Trying to spawn effect '%s' with attach type of '%s'\n", GetModelName(), pszParticleEffect, pszAttachType );
1215
+
Warning("Invalid attach type specified for particle effect in model '%s' keyvalues section. Trying to spawn effect '%s' with attach type of '%s'\n", GetModelName(), pszParticleEffect, pszPEAttachType );
1216
1216
return;
1217
1217
}
1218
1218
1219
1219
// Convert attachment point
1220
-
int iAttachment = atoi(pszAttachment);
1220
+
int iAttachment = atoi(pszPEAttachment);
1221
1221
// See if we can find any attachment points matching the name
1222
-
if ( pszAttachment[0] != '0' && iAttachment == 0 )
1222
+
if ( pszPEAttachment[0] != '0' && iAttachment == 0 )
Warning("Failed to find attachment point specified for particle effect in model '%s' keyvalues section. Trying to spawn effect '%s' on attachment named '%s'\n", GetModelName(), pszParticleEffect, pszAttachment );
1227
+
Warning("Failed to find attachment point specified for particle effect in model '%s' keyvalues section. Trying to spawn effect '%s' on attachment named '%s'\n", GetModelName(), pszParticleEffect, pszPEAttachment );
int iAttachType = GetAttachTypeFromString( pszAttachType );
1260
+
int iAttachType = GetAttachTypeFromString( pszCPAttachType );
1261
1261
if ( iAttachType == -1 )
1262
1262
{
1263
-
Warning("Invalid attach type specified for particle effect in model '%s' keyvalues section. Trying to spawn effect '%s' with attach type of '%s'\n", GetModelName(), pszParticleEffect, pszAttachType );
1263
+
Warning("Invalid attach type specified for particle effect in model '%s' keyvalues section. Trying to spawn effect '%s' with attach type of '%s'\n", GetModelName(), pszParticleEffect, pszCPAttachType );
0 commit comments