Remove debug printout from PerformGravity (bug 5679, r=asherkin).
authorKyle Sanderson <kyle.leet@gmail.com>
Thu Apr 11 03:03:29 2013 +0100 (2013-04-11)
changeset 38915a76641c95e1
parent 3890 720531f08850
child 3892 2dac7e7ce4f1
Remove debug printout from PerformGravity (bug 5679, r=asherkin).
plugins/funcommands/gravity.sp
     1.1 --- a/plugins/funcommands/gravity.sp	Thu Apr 11 00:34:52 2013 +0100
     1.2 +++ b/plugins/funcommands/gravity.sp	Thu Apr 11 03:03:29 2013 +0100
     1.3 @@ -35,10 +35,6 @@
     1.4  
     1.5  PerformGravity(client, target, Float:amount)
     1.6  {
     1.7 -	new offset = FindDataMapOffs(client, "m_flGravity");
     1.8 -	new Float:temp = GetEntDataFloat(client, offset);
     1.9 -	PrintToChatAll("Gravity check %f", temp);
    1.10 -	
    1.11  	SetEntityGravity(target, amount);
    1.12  	LogAction(client, target, "\"%L\" set gravity on \"%L\" to %d.", client, target, amount);
    1.13  }