diff options
-rw-r--r-- | src/map/npc.c | 4 |
1 files changed, 1 insertions, 3 deletions
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;
|