plugins/basefuncommands/fire.sp
changeset 1864 152bfe3d1138
parent 1827 6a7fd84d9658
     1.1 --- a/plugins/basefuncommands/fire.sp	Sun Jan 27 16:24:32 2008 +0000
     1.2 +++ b/plugins/basefuncommands/fire.sp	Sun Jan 27 16:32:47 2008 +0000
     1.3 @@ -190,7 +190,7 @@
     1.4  		
     1.5  		if (GetConVarInt(g_FireBombMode) > 0)
     1.6  		{
     1.7 -			new teamOnly = ((GetConVarInt(g_TimeBombMode) == 1) ? true : false);
     1.8 +			new teamOnly = ((GetConVarInt(g_FireBombMode) == 1) ? true : false);
     1.9  			new maxClients = GetMaxClients();
    1.10  			
    1.11  			for (new i = 1; i < maxClients; i++)
    1.12 @@ -216,7 +216,7 @@
    1.13  				}
    1.14  				
    1.15  				new Float:duration = GetConVarFloat(g_BurnDuration);
    1.16 -				duration *= (GetConVarFloat(g_TimeBombRadius) - distance) / GetConVarFloat(g_TimeBombRadius);
    1.17 +				duration *= (GetConVarFloat(g_FireBombRadius) - distance) / GetConVarFloat(g_FireBombRadius);
    1.18  
    1.19  				IgniteEntity(i, duration);
    1.20  			}