Cast class to avoid reflection

This commit is contained in:
oakes
2014-01-13 13:25:17 -05:00
parent cf61fcde2f
commit cd57839d35

View File

@@ -29,7 +29,7 @@
(defmacro tiled-map-layer!
[layer k & options]
`(u/call! ^TiledMapTileLayer ~layer ~k ~@options))
`(u/call! ^TiledMapTileLayer (cast TiledMapTileLayer ~layer) ~k ~@options))
(defn tiled-map-cell
[screen layer x y]