summaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
authorbrianluau <brianluau@54d463be-8e91-2dee-dedb-b68131a5f0ec>2011-05-22 18:05:23 +0000
committerbrianluau <brianluau@54d463be-8e91-2dee-dedb-b68131a5f0ec>2011-05-22 18:05:23 +0000
commitbc6ac0943bd618ae8cc484ba517d75d417e612a7 (patch)
tree2aaf9855dd3623a5d9d497adb9fa042f88010b1d /src
parent6e092fb71e98c4a13658eb4d18a228b73f987819 (diff)
downloadhercules-bc6ac0943bd618ae8cc484ba517d75d417e612a7.tar.gz
hercules-bc6ac0943bd618ae8cc484ba517d75d417e612a7.tar.bz2
hercules-bc6ac0943bd618ae8cc484ba517d75d417e612a7.tar.xz
hercules-bc6ac0943bd618ae8cc484ba517d75d417e612a7.zip
- Fixed a typo in eA Job System documentation.
- Fixed some bugs in Cursed Spirit quest. (bugreport:4914, bugreport:4917) - Changed <dir> in movenpc to wrap around if the number is < 0 or > 7. git-svn-id: https://rathena.svn.sourceforge.net/svnroot/rathena/trunk@14830 54d463be-8e91-2dee-dedb-b68131a5f0ec
Diffstat (limited to 'src')
-rw-r--r--src/map/script.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/map/script.c b/src/map/script.c
index bf0b4f652..c635f6112 100644
--- a/src/map/script.c
+++ b/src/map/script.c
@@ -11788,7 +11788,7 @@ BUILDIN_FUNC(movenpc)
return -1;
if (script_hasdata(st,5))
- nd->ud.dir = script_getnum(st,5);
+ nd->ud.dir = script_getnum(st,5) % 8;
npc_movenpc(nd, x, y);
return 0;
}