hedgewars/GSHandlers.inc
changeset 4635 62d0873459e5
parent 4634 784e2df9e79a
child 4637 0f22a53c4c1d
equal deleted inserted replaced
4634:784e2df9e79a 4635:62d0873459e5
  3781         if not hasdxy and not (conPortal^.dY.isNegative) then
  3781         if not hasdxy and not (conPortal^.dY.isNegative) then
  3782         begin
  3782         begin
  3783             iterator^.dY:= iterator^.dY + hwAbs(cGravity * (iterator^.Y - conPortal^.Y))
  3783             iterator^.dY:= iterator^.dY + hwAbs(cGravity * (iterator^.Y - conPortal^.Y))
  3784         end;
  3784         end;
  3785 
  3785 
  3786         if not isbullet then
  3786         if not isbullet and (iterator^.Kind <> gtFlake) then
  3787             FollowGear := iterator;
  3787             FollowGear := iterator;
  3788 //AddFileLog('portal''d');
  3788 //AddFileLog('portal''d');
  3789 
  3789 
  3790 {
  3790 {
  3791         s := _0_2 + _0_008 * Gear^.Health;
  3791         s := _0_2 + _0_008 * Gear^.Health;