summaryrefslogtreecommitdiff
path: root/src/map
diff options
context:
space:
mode:
authorFlavioJS <FlavioJS@54d463be-8e91-2dee-dedb-b68131a5f0ec>2006-12-25 07:28:15 +0000
committerFlavioJS <FlavioJS@54d463be-8e91-2dee-dedb-b68131a5f0ec>2006-12-25 07:28:15 +0000
commitcda429236c48cc97119a2dffa3160e01720ca9e9 (patch)
tree01a2adc538faa85378d6ed0366745fc8f658c6e7 /src/map
parent946dc4916e888f8d5bf8a5c701d85273fba06000 (diff)
downloadhercules-cda429236c48cc97119a2dffa3160e01720ca9e9.tar.gz
hercules-cda429236c48cc97119a2dffa3160e01720ca9e9.tar.bz2
hercules-cda429236c48cc97119a2dffa3160e01720ca9e9.tar.xz
hercules-cda429236c48cc97119a2dffa3160e01720ca9e9.zip
- Fixed buildin_getscrate, thanks Trancid.
git-svn-id: https://rathena.svn.sourceforge.net/svnroot/rathena/trunk@9571 54d463be-8e91-2dee-dedb-b68131a5f0ec
Diffstat (limited to 'src/map')
-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 23e485bef..86cf18859 100644
--- a/src/map/script.c
+++ b/src/map/script.c
@@ -7848,7 +7848,7 @@ int buildin_getscrate(struct script_state *st)
type=conv_num(st,& (st->stack->stack_data[st->start+2]));
rate=conv_num(st,& (st->stack->stack_data[st->start+3]));
if( st->end>st->start+4 ) //指定したキャラの耐性を計算する
- bl = map_id2bl(conv_num(st,& (st->stack->stack_data[st->start+6])));
+ bl = map_id2bl(conv_num(st,& (st->stack->stack_data[st->start+4])));
else
bl = map_id2bl(st->rid);