From 2a5e9a504131fb04eb8ffcb6b11a2528a5825dc2 Mon Sep 17 00:00:00 2001 From: Lance Date: Sun, 16 Apr 2006 13:31:54 +0000 Subject: Optimized. (What am I thinking) git-svn-id: https://rathena.svn.sourceforge.net/svnroot/rathena/trunk@6111 54d463be-8e91-2dee-dedb-b68131a5f0ec --- src/map/npc.c | 5 +---- 1 file changed, 1 insertion(+), 4 deletions(-) (limited to 'src') diff --git a/src/map/npc.c b/src/map/npc.c index d593caca9..2d3428eec 100644 --- a/src/map/npc.c +++ b/src/map/npc.c @@ -1840,10 +1840,7 @@ static int npc_parse_script (char *w1,char *w2,char *w3,char *w4,char *first_lin nd = (struct npc_data *)aCalloc(1, sizeof(struct npc_data)); - if (m == -1){ - // スクリプトコピー用のダミーNPC - class_ = -1; - } else if (sscanf(w4, "%d,%d,%d", &class_, &xs, &ys) == 3) { + if (sscanf(w4, "%d,%d,%d", &class_, &xs, &ys) == 3) { // 接触型NPC int i, j; -- cgit v1.2.3-70-g09d2