diff options
Diffstat (limited to 'src')
-rw-r--r-- | src/map/script.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/map/script.c b/src/map/script.c index 818280012..2db84fafb 100644 --- a/src/map/script.c +++ b/src/map/script.c @@ -10832,7 +10832,7 @@ int buildin_unitdeadsit(struct script_state *st){ action = conv_num(st, & (st->stack->stack_data[st->start+3])); if((bl = map_id2bl(id))){ if(action > -1 && action < 4){ - unsigned char *buf = NULL; + unsigned char buf[61] = ""; switch(bl->type){ case BL_MOB: ((TBL_MOB *)bl)->vd->dead_sit = action; |