hedgewars/uCommandHandlers.pas
changeset 10228 947cadb40bc5
parent 10127 7f29a65aa1e4
child 10237 282e49f9ce9d
equal deleted inserted replaced
10227:0b848d595f22 10228:947cadb40bc5
   337         begin
   337         begin
   338         FollowGear:= CurrentHedgehog^.Gear;
   338         FollowGear:= CurrentHedgehog^.Gear;
   339         if not isExternalSource then
   339         if not isExternalSource then
   340             SendIPC(_S'A');
   340             SendIPC(_S'A');
   341         Message:= Message or (gmAttack and InputMask);
   341         Message:= Message or (gmAttack and InputMask);
   342         ScriptCall('onAttack');
   342         ScriptCall('onAttack'); // so if I fire airstrike, it doesn't count as attack? fine, fine
   343         end
   343         end
   344     end
   344     end
   345 end;
   345 end;
   346 
   346 
   347 procedure chAttack_m(var s: shortstring);
   347 procedure chAttack_m(var s: shortstring);