fixed resetting gravity and damage
This commit is contained in:
		
							parent
							
								
									71ddf57bd3
								
							
						
					
					
						commit
						d3b862cdf2
					
				@ -83,6 +83,14 @@ public Action announce_zone_controlls(Handle hTimer)
 | 
				
			|||||||
    float zm_controlled_zone = 0.0;
 | 
					    float zm_controlled_zone = 0.0;
 | 
				
			||||||
    if (g_zoneCount == 0 || !g_permit_zone_benefits)
 | 
					    if (g_zoneCount == 0 || !g_permit_zone_benefits)
 | 
				
			||||||
    {
 | 
					    {
 | 
				
			||||||
 | 
					        g_human_damage_addition = 1.0; //indicating no damage buffs
 | 
				
			||||||
 | 
					        for (int i = 0; i < MaxClients; i++)
 | 
				
			||||||
 | 
					        {
 | 
				
			||||||
 | 
					            if (IsValidClient(i) && IsPlayerAlive(i))
 | 
				
			||||||
 | 
					            {
 | 
				
			||||||
 | 
					                SetEntityGravity(i, 1.0);
 | 
				
			||||||
 | 
					            }
 | 
				
			||||||
 | 
					        }
 | 
				
			||||||
        return Plugin_Handled;
 | 
					        return Plugin_Handled;
 | 
				
			||||||
    }
 | 
					    }
 | 
				
			||||||
    for (int i = 0; i < g_zoneCount; i++)
 | 
					    for (int i = 0; i < g_zoneCount; i++)
 | 
				
			||||||
 | 
				
			|||||||
		Loading…
	
		Reference in New Issue
	
	Block a user