summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAndrei Karas <akaras@inbox.ru>2015-09-27 21:17:07 +0300
committerAndrei Karas <akaras@inbox.ru>2015-09-27 21:17:07 +0300
commit262e8bd9015e130fabe1b26c2984923c56db5387 (patch)
treecf61c074ef9eb527952b350e49ecc4e864eb8b09
parent2cfa23d3040eb6c6911c85450cacfac4e104f4f4 (diff)
downloadserverdata-262e8bd9015e130fabe1b26c2984923c56db5387.tar.gz
serverdata-262e8bd9015e130fabe1b26c2984923c56db5387.tar.bz2
serverdata-262e8bd9015e130fabe1b26c2984923c56db5387.tar.xz
serverdata-262e8bd9015e130fabe1b26c2984923c56db5387.zip
Replace setnpcdisplay to '.class'.
-rw-r--r--npc/functions/npcmove.txt2
-rw-r--r--npc/functions/npcmovegraph.txt2
2 files changed, 2 insertions, 2 deletions
diff --git a/npc/functions/npcmove.txt b/npc/functions/npcmove.txt
index be2a20a9..59107e0a 100644
--- a/npc/functions/npcmove.txt
+++ b/npc/functions/npcmove.txt
@@ -52,7 +52,7 @@ function script domoveaction {
}
else if (.@cmd$ == "class")
{
- setnpcdisplay strnpcinfo(3), getvariableofnpc(.movepathx[.@pos], strnpcinfo(3));
+ .class = getvariableofnpc(.movepathx[.@pos], strnpcinfo(3));
return 2;
}
else if (.@cmd$ == "warp")
diff --git a/npc/functions/npcmovegraph.txt b/npc/functions/npcmovegraph.txt
index cb2c3471..7e0761aa 100644
--- a/npc/functions/npcmovegraph.txt
+++ b/npc/functions/npcmovegraph.txt
@@ -123,7 +123,7 @@ function script execmovecmd {
}
else if (.@cmd$[0] == "class")
{
- setnpcdisplay strnpcinfo(3), atoi(.@cmd$[1]);
+ .class = atoi(.@cmd$[1]);
}
else if (.@cmd$[0] == "warp")
{