hedgewars/GSHandlers.inc
changeset 2217 458c08d74ae6
parent 2208 7d1a084d11ab
child 2220 110266ba2ef7
--- a/hedgewars/GSHandlers.inc	Tue Jun 30 17:02:41 2009 +0000
+++ b/hedgewars/GSHandlers.inc	Wed Jul 01 22:50:27 2009 +0000
@@ -1495,7 +1495,7 @@
 	inc(Gear^.Pos);
 	if Gear^.Pos = 11 then
 		Gear^.doStep:= @doStepTeleportAfter
-	end
+	end;
 end;
 
 procedure doStepTeleport(Gear: PGear);
@@ -1524,7 +1524,9 @@
 		HHGear^.Y:= int2hwFloat(TargetPoint.Y);
 		HHGear^.State:= HHGear^.State or gstMoving
 		end;
-TargetPoint.X:= NoPointX
+TargetPoint.X:= NoPointX;
+playSound(sndWarp, false, nil);
+
 end;
 
 ////////////////////////////////////////////////////////////////////////////////