should make rendering work again.

This commit is contained in:
2015-04-17 08:07:51 -07:00
parent 505655ea01
commit adbdd2ee1d
9 changed files with 27 additions and 13 deletions

View File

@@ -17,8 +17,9 @@
(or scale-x 1)))
entity-y (- entity-y (* (or origin-y 0)
(or scale-y 1)))]
((zone/box entity-x entity-y
(+ entity-x (* width (or 1 scale-x)))
(+ entity-x (* width (or scale-x 1)))
(+ entity-y (* height (or scale-y 1)))) x y)))}
(when (or (:scripts entity) (:script entity))
{:get-script (fn [cursor [x y]]