fix crash in parachute/rope if drowning with active girder/teleport
authornemo
Fri, 15 May 2009 17:15:37 +0000
changeset 2060 3e9e5e1be6f5
parent 2059 b25eed7f9183
child 2061 0f99aa28b9f4
fix crash in parachute/rope if drowning with active girder/teleport
hedgewars/GSHandlers.inc
--- a/hedgewars/GSHandlers.inc	Fri May 15 12:56:32 2009 +0000
+++ b/hedgewars/GSHandlers.inc	Fri May 15 17:15:37 2009 +0000
@@ -717,6 +717,7 @@
 	or TestCollisionYwithGear(HHGear, 1) then
 	begin
 	DeleteGear(Gear);
+	isCursorVisible:= false;
 	exit
 	end;
 
@@ -1309,6 +1310,7 @@
 		State:= State or gstMoving;
 		end;
 	DeleteGear(Gear);
+	isCursorVisible:= false;
 	exit
 	end;