Don't draw walking state when cursor is on
authorunc0rr
Sun, 22 Mar 2009 21:44:48 +0000
changeset 1913 73d2da2df3c2
parent 1912 c3d31fb59f0e
child 1914 aab686a4e0c5
Don't draw walking state when cursor is on
hedgewars/uGears.pas
--- a/hedgewars/uGears.pas	Sun Mar 22 21:03:59 2009 +0000
+++ b/hedgewars/uGears.pas	Sun Mar 22 21:44:48 2009 +0000
@@ -841,7 +841,7 @@
 	defaultPos:= false
 	end else
 
-	if (Gear^.Message and (gm_Left or gm_Right) <> 0) then
+	if (Gear^.Message and (gm_Left or gm_Right) <> 0) and (not isCursorVisible) then
 		begin
 		DrawHedgehog(sx, sy,
 			hwSign(Gear^.dX),