From cd57839d357da9d83e0aab418836a31f59142c03 Mon Sep 17 00:00:00 2001 From: oakes Date: Mon, 13 Jan 2014 13:25:17 -0500 Subject: [PATCH] Cast class to avoid reflection --- src/play_clj/core_render.clj | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/play_clj/core_render.clj b/src/play_clj/core_render.clj index e969f84..1836530 100644 --- a/src/play_clj/core_render.clj +++ b/src/play_clj/core_render.clj @@ -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]