Resolved a compile error for CentOS (fixes #1190)
* Send a 0 instead of NULL to the va_list when freeing item groups.
This commit is contained in:
parent
9cd7e595cf
commit
ca049a66f4
@ -615,7 +615,7 @@ static void itemdb_read_itemgroup_sub(const char* filename, bool silent)
|
||||
|
||||
// Remove from DB
|
||||
if (strcmpi(str[1], "clear") == 0 && itemdb_group->remove(itemdb_group, db_ui2key(group_id), &data)) {
|
||||
itemdb_group_free(db_ui2key(group_id), &data, NULL);
|
||||
itemdb_group_free(db_ui2key(group_id), &data, 0);
|
||||
ShowNotice("Item Group '%s' has been cleared.\n", str[0]);
|
||||
continue;
|
||||
}
|
||||
|
Loading…
x
Reference in New Issue
Block a user