diff options
author | epoque11 <epoque11@54d463be-8e91-2dee-dedb-b68131a5f0ec> | 2012-04-02 20:47:42 +0000 |
---|---|---|
committer | epoque11 <epoque11@54d463be-8e91-2dee-dedb-b68131a5f0ec> | 2012-04-02 20:47:42 +0000 |
commit | e5a560e553e3604770ea7b0219859263882747a9 (patch) | |
tree | f498e65b1ea9dcb096875df1675689a97f84287d | |
parent | 2b2dae078de159cd4d9948824689cc9f62ef6263 (diff) | |
download | hercules-e5a560e553e3604770ea7b0219859263882747a9.tar.gz hercules-e5a560e553e3604770ea7b0219859263882747a9.tar.bz2 hercules-e5a560e553e3604770ea7b0219859263882747a9.tar.xz hercules-e5a560e553e3604770ea7b0219859263882747a9.zip |
- Fixed grouprandomitem; always produced negative item IDs. (bugreport:5529)
git-svn-id: https://rathena.svn.sourceforge.net/svnroot/rathena/trunk@15822 54d463be-8e91-2dee-dedb-b68131a5f0ec
-rw-r--r-- | src/map/script.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/map/script.c b/src/map/script.c index 53a8e0fd9..cae1d094b 100644 --- a/src/map/script.c +++ b/src/map/script.c @@ -5928,7 +5928,7 @@ BUILDIN_FUNC(grouprandomitem) int group; group = script_getnum(st,2); - script_pushint(st,-itemdb_searchrandomid(group)); + script_pushint(st,itemdb_searchrandomid(group)); return 0; } |