Remove debug printout from PerformGravity (bug 5679, r=asherkin).
This commit is contained in:
		
							parent
							
								
									a2da4cc868
								
							
						
					
					
						commit
						8e78ee6f57
					
				@ -35,10 +35,6 @@ new g_GravityTarget[MAXPLAYERS+1];
 | 
				
			|||||||
 | 
					
 | 
				
			||||||
PerformGravity(client, target, Float:amount)
 | 
					PerformGravity(client, target, Float:amount)
 | 
				
			||||||
{
 | 
					{
 | 
				
			||||||
	new offset = FindDataMapOffs(client, "m_flGravity");
 | 
					 | 
				
			||||||
	new Float:temp = GetEntDataFloat(client, offset);
 | 
					 | 
				
			||||||
	PrintToChatAll("Gravity check %f", temp);
 | 
					 | 
				
			||||||
	
 | 
					 | 
				
			||||||
	SetEntityGravity(target, amount);
 | 
						SetEntityGravity(target, amount);
 | 
				
			||||||
	LogAction(client, target, "\"%L\" set gravity on \"%L\" to %d.", client, target, amount);
 | 
						LogAction(client, target, "\"%L\" set gravity on \"%L\" to %d.", client, target, amount);
 | 
				
			||||||
}
 | 
					}
 | 
				
			||||||
 | 
				
			|||||||
		Loading…
	
		Reference in New Issue
	
	Block a user