summaryrefslogtreecommitdiffstats
path: root/src/map.c
diff options
context:
space:
mode:
Diffstat (limited to 'src/map.c')
-rw-r--r--src/map.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/src/map.c b/src/map.c
index 824f369..09db505 100644
--- a/src/map.c
+++ b/src/map.c
@@ -539,6 +539,7 @@ _db_tmx_object_end(void *pv, const char *name)
map->ball_tail = db_ball_new(map->obj_x, map->obj_y,
map->obj_r, map->obj_a, map->obj_d,
map->obj_sr, map->obj_s,
+ map->tileset_head, map->obj_gid,
map->ball_tail);
if (map->ball_tail == NULL) {
XML_StopParser(p, XML_FALSE);