summaryrefslogtreecommitdiff
path: root/src/map
diff options
context:
space:
mode:
authorLance <Lance@54d463be-8e91-2dee-dedb-b68131a5f0ec>2006-04-16 13:30:58 +0000
committerLance <Lance@54d463be-8e91-2dee-dedb-b68131a5f0ec>2006-04-16 13:30:58 +0000
commitf7f400a57e387a1fa0ace5c768cfb07caa662448 (patch)
tree3f64196e6f75f9036f30aadbdede8f2a9b97d1cb /src/map
parenteea9a4cd5b4830f8319410a5a33055e1ee31f4a3 (diff)
downloadhercules-f7f400a57e387a1fa0ace5c768cfb07caa662448.tar.gz
hercules-f7f400a57e387a1fa0ace5c768cfb07caa662448.tar.bz2
hercules-f7f400a57e387a1fa0ace5c768cfb07caa662448.tar.xz
hercules-f7f400a57e387a1fa0ace5c768cfb07caa662448.zip
Fix my fix.
git-svn-id: https://rathena.svn.sourceforge.net/svnroot/rathena/trunk@6110 54d463be-8e91-2dee-dedb-b68131a5f0ec
Diffstat (limited to 'src/map')
-rw-r--r--src/map/npc.c4
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;