plugins/funcommands/fire.sp
changeset 3094 f606f5c1dbca
parent 2920 1d5645ab7ae0
child 4305 fe0e55c4d544
     1.1 --- a/plugins/funcommands/fire.sp	Fri Jul 23 21:23:35 2010 -0400
     1.2 +++ b/plugins/funcommands/fire.sp	Mon Jul 26 08:15:52 2010 -0400
     1.3 @@ -134,8 +134,11 @@
     1.4  	}
     1.5  	else
     1.6  	{
     1.7 -		TE_SetupExplosion(vec, g_ExplosionSprite, 0.1, 1, 0, GetConVarInt(g_Cvar_FireBombRadius), 5000);
     1.8 -		TE_SendToAll();
     1.9 +		if (g_ExplosionSprite > -1)
    1.10 +		{
    1.11 +			TE_SetupExplosion(vec, g_ExplosionSprite, 0.1, 1, 0, GetConVarInt(g_Cvar_FireBombRadius), 5000);
    1.12 +			TE_SendToAll();
    1.13 +		}
    1.14  		
    1.15  		GetClientAbsOrigin(client, vec);
    1.16  		vec[2] += 10;