Ver código fonte

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

Lance 19 anos atrás
pai
commit
671522e47c
1 arquivos alterados com 1 adições e 1 exclusões
  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;