summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--src/map/script.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/map/script.c b/src/map/script.c
index 2b0585b18..73b3b6e89 100644
--- a/src/map/script.c
+++ b/src/map/script.c
@@ -5701,7 +5701,7 @@ int buildin_getpartymember(struct script_state *st)
*/
int buildin_getpartyleader(struct script_state *st)
{
- int party_id, type = 0, i;
+ int party_id, type = 0, i=0;
struct party_data *p;
party_id=conv_num(st,& (st->stack->stack_data[st->start+2]));