- 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://svn.code.sf.net/p/rathena/svn/trunk@14830 54d463be-8e91-2dee-dedb-b68131a5f0ec
This commit is contained in:
@@ -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;
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user