diff options
Diffstat (limited to 'src/game/g_utils.c')
-rw-r--r-- | src/game/g_utils.c | 6 |
1 files changed, 6 insertions, 0 deletions
diff --git a/src/game/g_utils.c b/src/game/g_utils.c index 50812aac..e38fb01a 100644 --- a/src/game/g_utils.c +++ b/src/game/g_utils.c @@ -114,6 +114,12 @@ int G_FindConfigstringIndex( char *name, int start, int max, qboolean create ) return i; } +//TA: added ParticleSystemIndex +int G_ParticleSystemIndex( char *name ) +{ + return G_FindConfigstringIndex( name, CS_PARTICLE_SYSTEMS, MAX_GAME_PARTICLE_SYSTEMS, qtrue ); +} + //TA: added ShaderIndex int G_ShaderIndex( char *name ) { |