cast DIALOG_WIDTH and DIALOG_HEIGHT to int

This commit is contained in:
2023-05-25 13:42:43 -06:00
parent ab3381e24f
commit c9d2ebe3ff

View File

@@ -146,8 +146,8 @@
(set STAGE_BEHIND_DY 250.0) (set STAGE_BEHIND_DY 250.0)
(set DIALOG_X ACTOR_WIDTH) (set DIALOG_X ACTOR_WIDTH)
(set DIALOG_Y (- FlxG.height 220.0)) (set DIALOG_Y (- FlxG.height 220.0))
(set DIALOG_WIDTH (- FlxG.width ACTOR_WIDTH ACTOR_WIDTH)) (set DIALOG_WIDTH (Std.int (- FlxG.width ACTOR_WIDTH ACTOR_WIDTH)))
(set DIALOG_HEIGHT (- FlxG.height DIALOG_Y)) (set DIALOG_HEIGHT (Std.int (- FlxG.height DIALOG_Y)))
#{ #{
stagePositions.put("Left", new StagePosition( stagePositions.put("Left", new StagePosition(
STAGE_LEFT_X, STAGE_LEFT_X,