summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorshennetsind <ind@henn.et>2013-06-27 16:23:30 -0300
committershennetsind <ind@henn.et>2013-06-27 16:23:30 -0300
commit85ac3b03b9e642bc322109ea8c176c43192eb4bd (patch)
treeb361147013a3822aa7762752d87b51cc7edeb149
parentdbb4ce9421aed2defb4f3566e8c0b330c08b58bc (diff)
downloadhercules-85ac3b03b9e642bc322109ea8c176c43192eb4bd.tar.gz
hercules-85ac3b03b9e642bc322109ea8c176c43192eb4bd.tar.bz2
hercules-85ac3b03b9e642bc322109ea8c176c43192eb4bd.tar.xz
hercules-85ac3b03b9e642bc322109ea8c176c43192eb4bd.zip
Fixed Bug #7444
Special Thanks to shenhuyong, Haruna. http://hercules.ws/board/tracker/issue-7444-partymembercount-gone-missing-when-reloaditemdb-is-executed/ Signed-off-by: shennetsind <ind@henn.et>
-rw-r--r--src/map/script.c1
1 files changed, 0 insertions, 1 deletions
diff --git a/src/map/script.c b/src/map/script.c
index bbae42c6f..8b9b87322 100644
--- a/src/map/script.c
+++ b/src/map/script.c
@@ -1968,7 +1968,6 @@ void script_set_constant2(const char *name, int value, bool isparameter) {
int n = add_str(name);
if( script->str_data[n].type != C_NOP ) {
- script->str_data[n].next = 0;
script->str_data[n].func = NULL;
script->str_data[n].backpatch = -1;
script->str_data[n].label = -1;