From d086162c1631aa9e75cb38cc358dff572b48d541 Mon Sep 17 00:00:00 2001 From: iWas-Coder Date: Wed, 8 May 2024 17:06:16 +0200 Subject: [PATCH] fix: makes no sense to destroy map elements here --- src/sk_map.c | 1 - 1 file changed, 1 deletion(-) diff --git a/src/sk_map.c b/src/sk_map.c index 1d279a5..716ee9a 100644 --- a/src/sk_map.c +++ b/src/sk_map.c @@ -53,7 +53,6 @@ void sk_map_add_element(sk_darray *es, sk_map_element e = sk_map_element_create(kind, name, texture_kind, w, l, h); sk_map_element_move(&e, draw_pos); if (!sk_darray_push(es, &e)) SK_LOG_ERROR("sk_map_add_element :: unable to add new element"); - // sk_map_element_destroy(&e); } void sk_map_load(sk_map *m) {