Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with
or
.
Download ZIP
Browse files

fixed rotation bug

  • Loading branch information...
commit ee4bc9090696e546e81fbaf67ee6244398d3f855 1 parent a22a8e1
@gsingh93 authored
Showing with 9 additions and 9 deletions.
  1. +8 −8 collisionlib.e
  2. +1 −1  piecefactory.e
View
16 collisionlib.e
@@ -330,15 +330,15 @@ check_rotate_collision_return
bne rotate_move_failed test3 num0
bne rotate_move_failed test4 num0
- be rotate_move_failed my_x11 num0
- be rotate_move_failed my_x21 num0
- be rotate_move_failed my_x31 num0
- be rotate_move_failed my_x41 num0
+ be rotate_move_failed my_x11 numneg1
+ be rotate_move_failed my_x21 numneg1
+ be rotate_move_failed my_x31 numneg1
+ be rotate_move_failed my_x41 numneg1
- be rotate_move_failed my_x12 num239
- be rotate_move_failed my_x22 num239
- be rotate_move_failed my_x32 num239
- be rotate_move_failed my_x42 num239
+ blt rotate_move_failed num240 my_x12
+ blt rotate_move_failed num240 my_x22
+ blt rotate_move_failed num240 my_x32
+ blt rotate_move_failed num240 my_x42
cp rotate_move_passed num1
rotate_move_failed
View
2  piecefactory.e
@@ -38,7 +38,7 @@ draw_piece2 cp color num236
cpta num47 piece num11
cpta num120 piece num12
cpta num0 piece num13
- cpta num147 piece num14
+ cpta num143 piece num14
cpta num23 piece num15
cpfa cmx cm num2
Please sign in to comment.
Something went wrong with that request. Please try again.