From c9d2ebe3ff2bdd5bbc54d66a4eecc0fc34be3dc6 Mon Sep 17 00:00:00 2001 From: Nat Quayle Nelson Date: Thu, 25 May 2023 13:42:43 -0600 Subject: [PATCH] cast DIALOG_WIDTH and DIALOG_HEIGHT to int --- src/hollywoo_flixel/HollywooFlixelDSL.kiss | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/hollywoo_flixel/HollywooFlixelDSL.kiss b/src/hollywoo_flixel/HollywooFlixelDSL.kiss index 042a2a3..4957bdd 100644 --- a/src/hollywoo_flixel/HollywooFlixelDSL.kiss +++ b/src/hollywoo_flixel/HollywooFlixelDSL.kiss @@ -146,8 +146,8 @@ (set STAGE_BEHIND_DY 250.0) (set DIALOG_X ACTOR_WIDTH) (set DIALOG_Y (- FlxG.height 220.0)) - (set DIALOG_WIDTH (- FlxG.width ACTOR_WIDTH ACTOR_WIDTH)) - (set DIALOG_HEIGHT (- FlxG.height DIALOG_Y)) + (set DIALOG_WIDTH (Std.int (- FlxG.width ACTOR_WIDTH ACTOR_WIDTH))) + (set DIALOG_HEIGHT (Std.int (- FlxG.height DIALOG_Y))) #{ stagePositions.put("Left", new StagePosition( STAGE_LEFT_X,