Browse Source

Fix my fix.

git-svn-id: https://svn.code.sf.net/p/rathena/svn/trunk@6110 54d463be-8e91-2dee-dedb-b68131a5f0ec
Lance 19 năm trước cách đây
mục cha
commit
cb1ecd440c
1 tập tin đã thay đổi với 1 bổ sung3 xóa
  1. 1 3
      src/map/npc.c

+ 1 - 3
src/map/npc.c

@@ -1842,9 +1842,7 @@ static int npc_parse_script (char *w1,char *w2,char *w3,char *w4,char *first_lin
 
 	if (m == -1){
 		// スクリプトコピー用のダミーNPC
-		nd->class_ = -1;
-		nd->u.scr.xs = 0;
-		nd->u.scr.ys = 0;
+		class_ = -1;
 	} else if (sscanf(w4, "%d,%d,%d", &class_, &xs, &ys) == 3) {
 		// 接触型NPC
 		int i, j;