Fixed fire.sp cvars that were using timebomb stuff.
--HG-- extra : convert_revision : svn%3A39bc706e-5318-0410-9160-8a85361fbb7c/trunk%401870
This commit is contained in:
@@ -190,7 +190,7 @@ public Action:Timer_FireBomb(Handle:timer, any:client)
|
||||
|
||||
if (GetConVarInt(g_FireBombMode) > 0)
|
||||
{
|
||||
new teamOnly = ((GetConVarInt(g_TimeBombMode) == 1) ? true : false);
|
||||
new teamOnly = ((GetConVarInt(g_FireBombMode) == 1) ? true : false);
|
||||
new maxClients = GetMaxClients();
|
||||
|
||||
for (new i = 1; i < maxClients; i++)
|
||||
@@ -216,7 +216,7 @@ public Action:Timer_FireBomb(Handle:timer, any:client)
|
||||
}
|
||||
|
||||
new Float:duration = GetConVarFloat(g_BurnDuration);
|
||||
duration *= (GetConVarFloat(g_TimeBombRadius) - distance) / GetConVarFloat(g_TimeBombRadius);
|
||||
duration *= (GetConVarFloat(g_FireBombRadius) - distance) / GetConVarFloat(g_FireBombRadius);
|
||||
|
||||
IgniteEntity(i, duration);
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user