diff options
author | Lance <Lance@54d463be-8e91-2dee-dedb-b68131a5f0ec> | 2006-06-29 08:51:13 +0000 |
---|---|---|
committer | Lance <Lance@54d463be-8e91-2dee-dedb-b68131a5f0ec> | 2006-06-29 08:51:13 +0000 |
commit | 2004b3f84b57a26444b7555034485d8eb4ce99d0 (patch) | |
tree | c7f8b6877590cbd3bb10f20ce01dfb12c3463ef8 /src/map/script.c | |
parent | b098c36a440f8052ab3c548420920bad92c7d872 (diff) | |
download | hercules-2004b3f84b57a26444b7555034485d8eb4ce99d0.tar.gz hercules-2004b3f84b57a26444b7555034485d8eb4ce99d0.tar.bz2 hercules-2004b3f84b57a26444b7555034485d8eb4ce99d0.tar.xz hercules-2004b3f84b57a26444b7555034485d8eb4ce99d0.zip |
git-svn-id: https://rathena.svn.sourceforge.net/svnroot/rathena/trunk@7389 54d463be-8e91-2dee-dedb-b68131a5f0ec
Diffstat (limited to 'src/map/script.c')
-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; |