removed debugging code from tilemap loading

This commit is contained in:
Sara 2023-11-01 23:01:38 +01:00
parent 0e3a4b1772
commit 6e75cb6f49

View file

@ -169,7 +169,6 @@ Tileset* tileset_from_json(cJSON* json) {
CHECK(def->shape != NULL, "Failed to create a shape for tiledef");
cJSON_ArrayForEach(vertex_json, shape_data) {
Vector vertex = json_array_to_vector(vertex_json);
LOG_INFO("vertex %f %f", vertex.x, vertex.y);
shape_add_point(self->tiledefs[id->valueint].shape, vertex);
}
cJSON_Delete(data_json);
@ -220,4 +219,4 @@ Sprite* tiledef_get_sprite(const TileDef* self) {
Shape* tiledef_get_shape(TileDef* self) {
return self->shape;
}
}