Remove debug printout from PerformGravity (bug 5679, r=asherkin).
Remove debug printout from PerformGravity (
bug 5679, r=asherkin).
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 }