From bc6ac0943bd618ae8cc484ba517d75d417e612a7 Mon Sep 17 00:00:00 2001 From: brianluau Date: Sun, 22 May 2011 18:05:23 +0000 Subject: - Fixed a typo in eA Job System documentation. - Fixed some bugs in Cursed Spirit quest. (bugreport:4914, bugreport:4917) - Changed 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 --- src/map/script.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'src/map') 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; } -- cgit v1.2.3-70-g09d2