General: Make fire grenades also ignite zombies.

This commit is contained in:
zaCade 2019-03-09 14:39:09 +01:00
parent 431b444e1f
commit 4a4ae4dc1e

View File

@ -130,7 +130,7 @@ NapalmOnClientHurt(client, attacker, const String:weapon[], dmg_health)
} }
// If weapon is a grenade, then ignite player. // If weapon is a grenade, then ignite player.
if (StrEqual(weapon, "hegrenade", false)) if (StrEqual(weapon, "hegrenade", false) || StrEqual(weapon, "inferno", false))
{ {
new bool:reset = GetConVarBool(g_hCvarsList[CVAR_NAPALM_TIME_RESET]); new bool:reset = GetConVarBool(g_hCvarsList[CVAR_NAPALM_TIME_RESET]);
new flags = GetEntityFlags(client); new flags = GetEntityFlags(client);