In forts mode, hedgehogs on the left look at the right, and vice-versa
authorunc0rr
Tue, 17 Jun 2008 18:10:15 +0000
changeset 999 8dcf263c9e8f
parent 998 65792c4e6f01
child 1000 e7b204880318
In forts mode, hedgehogs on the left look at the right, and vice-versa
hedgewars/uGears.pas
--- a/hedgewars/uGears.pas	Tue Jun 17 18:09:38 2008 +0000
+++ b/hedgewars/uGears.pas	Tue Jun 17 18:10:15 2008 +0000
@@ -1058,7 +1058,8 @@
 							if (Gear <> nil) and (Gear^.X.QWordValue = 0) then
 								begin
 								FindPlace(Gear, false, t, t + 1024);
-								Gear^.Pos:= GetRandom(19)
+								Gear^.Pos:= GetRandom(19);
+								Gear^.dX.isNegative:= p = 1;
 								end;
 		inc(t, 1024)
 		end