From 9e252107dc339c9bb39ccb5e6a3e60c422932d41 Mon Sep 17 00:00:00 2001 From: jsn Date: Thu, 2 Jan 2025 21:57:44 +0800 Subject: [PATCH] Clear item list for every storage at unit freeing missing curly bracket --- src/map/unit.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/map/unit.c b/src/map/unit.c index b5c718373a3..19fbc6b4f3f 100644 --- a/src/map/unit.c +++ b/src/map/unit.c @@ -3005,7 +3005,7 @@ static int unit_free(struct block_list *bl, enum clr_type clrtype) VECTOR_CLEAR(sd->title_ids); // Title [Dastgir/Hercules] VECTOR_CLEAR(sd->agency_requests); - for (int i = 0; i < VECTOR_LENGTH(sd->storage.list); i++) { + for (int i = 0; i < VECTOR_LENGTH(sd->storage.list); i++) VECTOR_CLEAR(VECTOR_INDEX(sd->storage.list, i).item); VECTOR_CLEAR(sd->storage.list);