add leftFrames for whip attack
This commit is contained in:
@@ -502,9 +502,7 @@ struct
|
||||
val boxes =
|
||||
case facing of
|
||||
FACING_RIGHT => Vector.sub (Whip.rightFrames, frame)
|
||||
| FACING_LEFT =>
|
||||
(* todo: change to leftFrames once that is implemented *)
|
||||
Vector.sub (Whip.rightFrames, frame)
|
||||
| FACING_LEFT => Vector.sub (Whip.leftFrames, frame)
|
||||
in
|
||||
helpGetWhipVec
|
||||
(x, y, wratio, 0.0, yOffset, 0, boxes, width, height, [])
|
||||
@@ -520,9 +518,7 @@ struct
|
||||
val boxes =
|
||||
case facing of
|
||||
FACING_RIGHT => Vector.sub (Whip.rightFrames, frame)
|
||||
| FACING_LEFT =>
|
||||
(* todo: change to leftFrames once that is implemented *)
|
||||
Vector.sub (Whip.rightFrames, frame)
|
||||
| FACING_LEFT => Vector.sub (Whip.leftFrames, frame)
|
||||
in
|
||||
helpGetWhipVec
|
||||
(x, y, hratio, xOffset, 0.0, 0, boxes, width, height, [])
|
||||
|
||||
Reference in New Issue
Block a user