A message to help debug
authorunc0rr
Thu, 26 Nov 2009 16:51:03 +0000
changeset 2642 097e3baa1305
parent 2641 b08cafb86797
child 2643 2074393d4db7
A message to help debug
hedgewars/CCHandlers.inc
--- a/hedgewars/CCHandlers.inc	Wed Nov 25 04:27:53 2009 +0000
+++ b/hedgewars/CCHandlers.inc	Thu Nov 26 16:51:03 2009 +0000
@@ -519,6 +519,7 @@
 				end;
 			SendIPCXY('p', TargetPoint.X, TargetPoint.Y);
 			end;
+		{$IFDEF DEBUGFILE}AddFilelog('put: ' + inttostr(TargetPoint.X) + ', ' + inttostr(TargetPoint.Y));{$ENDIF}
 		State:= State and not gstHHChooseTarget;
 		if (Ammo^[CurSlot, CurAmmo].Propz and ammoprop_AttackingPut) <> 0 then
 			Message:= Message or gm_Attack;