From f7f400a57e387a1fa0ace5c768cfb07caa662448 Mon Sep 17 00:00:00 2001 From: Lance Date: Sun, 16 Apr 2006 13:30:58 +0000 Subject: Fix my fix. git-svn-id: https://rathena.svn.sourceforge.net/svnroot/rathena/trunk@6110 54d463be-8e91-2dee-dedb-b68131a5f0ec --- src/map/npc.c | 4 +--- 1 file changed, 1 insertion(+), 3 deletions(-) (limited to 'src/map') diff --git a/src/map/npc.c b/src/map/npc.c index 486c4659c..d593caca9 100644 --- a/src/map/npc.c +++ b/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; -- cgit v1.2.3-70-g09d2