Skip to content
Snippets Groups Projects
Commit e42a452e authored by echicken's avatar echicken
Browse files

Compare, don't set direction in Sprite.Aerial.turn(direction).

parent 65b81bc3
No related branches found
No related tags found
No related merge requests found
......@@ -492,7 +492,7 @@ Sprite.Aerial = function(fileName, parentFrame, x, y, bearing, position) {
break;
}
/* increment or decrement bearing */
if(direction = "cw")
if(direction == "cw")
b++;
else if(direction == "ccw")
b--;
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment