ensure that we do not draw field over player when player is throwing
This commit is contained in:
@@ -596,6 +596,7 @@ struct
|
|||||||
end
|
end
|
||||||
| MAIN_ATTACKING =>
|
| MAIN_ATTACKING =>
|
||||||
let
|
let
|
||||||
|
val () = print "601\n"
|
||||||
val mainAttack =
|
val mainAttack =
|
||||||
helpGetMainAttackPatches (attackHeld, chargeHeld, charge)
|
helpGetMainAttackPatches (attackHeld, chargeHeld, charge)
|
||||||
in
|
in
|
||||||
@@ -606,6 +607,7 @@ struct
|
|||||||
acc
|
acc
|
||||||
else
|
else
|
||||||
let
|
let
|
||||||
|
val () = print "612\n"
|
||||||
val mainAttack =
|
val mainAttack =
|
||||||
helpGetMainAttackPatches (attackHeld, chargeHeld, charge)
|
helpGetMainAttackPatches (attackHeld, chargeHeld, charge)
|
||||||
in
|
in
|
||||||
@@ -830,6 +832,7 @@ struct
|
|||||||
fun getFieldVec (player: player, width, height) =
|
fun getFieldVec (player: player, width, height) =
|
||||||
case #mainAttack player of
|
case #mainAttack player of
|
||||||
MAIN_NOT_ATTACKING => Vector.fromList []
|
MAIN_NOT_ATTACKING => Vector.fromList []
|
||||||
|
| MAIN_THROWING => Vector.fromList []
|
||||||
| _ =>
|
| _ =>
|
||||||
let
|
let
|
||||||
val {x, y, ...} = player
|
val {x, y, ...} = player
|
||||||
|
|||||||
Reference in New Issue
Block a user