summaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
Diffstat (limited to 'src')
-rw-r--r--src/map/npc.c5
1 files changed, 1 insertions, 4 deletions
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;