summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-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")
{