removed debugging code from tilemap loading
This commit is contained in:
parent
0e3a4b1772
commit
6e75cb6f49
|
@ -169,7 +169,6 @@ Tileset* tileset_from_json(cJSON* json) {
|
||||||
CHECK(def->shape != NULL, "Failed to create a shape for tiledef");
|
CHECK(def->shape != NULL, "Failed to create a shape for tiledef");
|
||||||
cJSON_ArrayForEach(vertex_json, shape_data) {
|
cJSON_ArrayForEach(vertex_json, shape_data) {
|
||||||
Vector vertex = json_array_to_vector(vertex_json);
|
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);
|
shape_add_point(self->tiledefs[id->valueint].shape, vertex);
|
||||||
}
|
}
|
||||||
cJSON_Delete(data_json);
|
cJSON_Delete(data_json);
|
||||||
|
|
Loading…
Reference in a new issue