diff options
-rw-r--r-- | src/map.c | 4 |
1 files changed, 3 insertions, 1 deletions
@@ -434,7 +434,9 @@ _db_tmx_object_property_start(void *pv, const char *name, const char **attr) return; } free(p_type); - db_dbg(" Object speed: %f", map->obj_s); + db_dbg(" Object speed: %f px/s", + map->obj_s); + map->obj_s /= map->fr; /* Convert px/s to px/f */ } else if (strcmp(p_name, "direction") == 0) { db_xml_get_string_attr(p, attr, "value", &dir, 1); if (strcmp(dir, "lr") == 0) { |