From d22745b1e78420597be8ba1854c6083433616a27 Mon Sep 17 00:00:00 2001 From: Remington Covert Date: Tue, 16 Dec 2014 23:03:17 -0800 Subject: [PATCH] pretty good dialogue appearance. --- desktop/src-common/advent/actions.clj | 4 +--- 1 file changed, 1 insertion(+), 3 deletions(-) diff --git a/desktop/src-common/advent/actions.clj b/desktop/src-common/advent/actions.clj index 6cb57c79..1aa03513 100644 --- a/desktop/src-common/advent/actions.clj +++ b/desktop/src-common/advent/actions.clj @@ -258,9 +258,7 @@ (.getRegionHeight (get-in entities [:room :entities target-id :object]))) scaled (get-in entities [:room :entities target-id :scaled]) scale-fn (get-in entities [:room :scale-fn]) - scale (if scaled - (scale-fn [target-x target-y]) - 1) + scale (get-in entities [:room :entities target-id :scale-y] 1) height (* scale height)] (screen! dialogue/talking-screen :on-talk :text text :x target-x :y (+ (get-in entities [:room :entities target-id :y]) height)