summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJesusaves <cpntb1@ymail.com>2021-02-15 18:11:01 -0300
committerJesusaves <cpntb1@ymail.com>2021-02-15 18:11:01 -0300
commitd62e4bbeb16585d5170e50c5b5965c33eb96e3e7 (patch)
treef5c439dbb847e73f597e39a144decf630115762f
parent9a12781916106b42c78e251d82da6a0115a86124 (diff)
downloadhercules-d62e4bbeb16585d5170e50c5b5965c33eb96e3e7.tar.gz
hercules-d62e4bbeb16585d5170e50c5b5965c33eb96e3e7.tar.bz2
hercules-d62e4bbeb16585d5170e50c5b5965c33eb96e3e7.tar.xz
hercules-d62e4bbeb16585d5170e50c5b5965c33eb96e3e7.zip
[TMW2] Make the icon param in sc_config to be optional (allowing overrides)
-rw-r--r--src/map/status.c3
1 files changed, 1 insertions, 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;
}