From d62e4bbeb16585d5170e50c5b5965c33eb96e3e7 Mon Sep 17 00:00:00 2001 From: Jesusaves Date: Mon, 15 Feb 2021 18:11:01 -0300 Subject: [TMW2] Make the icon param in sc_config to be optional (allowing overrides) --- src/map/status.c | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/src/map/status.c b/src/map/status.c index f3a187207..53da544b2 100644 --- a/src/map/status.c +++ b/src/map/status.c @@ -13441,8 +13441,7 @@ static bool status_read_scdb_libconfig_sub(struct config_setting_t *it, int idx, if (itemdb->lookup_const(it, "Icon", &i32) && i32 >= 0) status->dbs->IconChangeTable[status_id] = i32; - else - status->dbs->IconChangeTable[status_id] = SI_BLANK; + return true; } -- cgit v1.2.3-60-g2f50