equal
deleted
inserted
replaced
1169 ap.Time:= 0; |
1169 ap.Time:= 0; |
1170 ap.Power:= BadTurn; // use it as max score value in checkCakeWalk |
1170 ap.Power:= BadTurn; // use it as max score value in checkCakeWalk |
1171 |
1171 |
1172 //FillChar(cake, sizeof(cake), 0); |
1172 //FillChar(cake, sizeof(cake), 0); |
1173 cake.Radius:= 7; |
1173 cake.Radius:= 7; |
1174 cake.CollisionMask:= $FF7F; |
1174 cake.CollisionMask:= lfCurrentMask; |
1175 cake.Hedgehog:= Me^.Hedgehog; |
1175 cake.Hedgehog:= Me^.Hedgehog; |
1176 |
1176 |
1177 // check left direction |
1177 // check left direction |
1178 cake.Angle:= 3; |
1178 cake.Angle:= 3; |
1179 cake.dX.isNegative:= true; |
1179 cake.dX.isNegative:= true; |