From 2004b3f84b57a26444b7555034485d8eb4ce99d0 Mon Sep 17 00:00:00 2001 From: Lance Date: Thu, 29 Jun 2006 08:51:13 +0000 Subject: git-svn-id: https://rathena.svn.sourceforge.net/svnroot/rathena/trunk@7389 54d463be-8e91-2dee-dedb-b68131a5f0ec --- src/map/script.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'src') 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; -- cgit v1.2.3-70-g09d2