From abfb96ff686fb2e3dce3d499bde63e29bf7b55eb Mon Sep 17 00:00:00 2001 From: Adam Olsen Date: Sat, 20 Oct 2001 21:10:34 +0000 Subject: [PATCH] - oops, remove the (commented out) debugging code :) --- often.qc | 18 ------------------ 1 file changed, 18 deletions(-) diff --git a/often.qc b/often.qc index 1f30198..3e1344f 100644 --- a/often.qc +++ b/often.qc @@ -578,24 +578,6 @@ void() FlareGrenadeTouch = // working properly. So I try to nudge them away from the // wall setorigin (self, NudgePosition (self.origin)); -/* - local vector netpos; - netpos_x = floor (self.origin_x * 8) / 8; - netpos_y = floor (self.origin_y * 8) / 8; - netpos_z = floor (self.origin_z * 8) / 8; - local float contents = pointcontents (netpos); - printf ("touch: %f\n", contents); - if (contents == CONTENTS_SOLID) { - local vector diff = self.origin - netpos; - printf ("origin: %v netpos: %v diff: %v ", - self.origin, netpos, diff); - diff_x = diff_x ? SIGN_f (diff_x) * 0.25 : 0.0; - diff_y = diff_y ? SIGN_f (diff_y) * 0.25 : 0.0; - diff_z = diff_z ? SIGN_f (diff_z) * 0.25 : 0.0; - printf ("nudge: %v\n", diff); - setorigin (self, self.origin + diff); - } -*/ } else {