Explorar o código

git-svn-id: https://svn.code.sf.net/p/rathena/svn/trunk@7389 54d463be-8e91-2dee-dedb-b68131a5f0ec

Lance %!s(int64=19) %!d(string=hai) anos
pai
achega
671522e47c
Modificáronse 1 ficheiros con 1 adicións e 1 borrados
  1. 1 1
      src/map/script.c

+ 1 - 1
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;