diff options
author | shennetsind <ind@henn.et> | 2013-06-10 21:34:41 -0300 |
---|---|---|
committer | Euphy <euphy@rathena.org> | 2013-06-15 15:50:20 -0400 |
commit | 76d70688e9129f29f28ec6c838ddfbcf4be9b6fb (patch) | |
tree | e2c1b2c276c7c4404f49da19bf106da3aeaa73ba /src | |
parent | c1059441bd63d827add002e3d6812b3242446898 (diff) | |
download | hercules-76d70688e9129f29f28ec6c838ddfbcf4be9b6fb.tar.gz hercules-76d70688e9129f29f28ec6c838ddfbcf4be9b6fb.tar.bz2 hercules-76d70688e9129f29f28ec6c838ddfbcf4be9b6fb.tar.xz hercules-76d70688e9129f29f28ec6c838ddfbcf4be9b6fb.zip |
Fixed a missing 'i' in getequipcardcnt
When did this go away, no idea.
Special Thanks to kyeme~!
Signed-off-by: shennetsind <ind@henn.et>
Diffstat (limited to 'src')
-rw-r--r-- | src/map/script.c | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/src/map/script.c b/src/map/script.c index d58e3780e..e1015a718 100644 --- a/src/map/script.c +++ b/src/map/script.c @@ -10906,8 +10906,8 @@ BUILDIN(requestguildinfo) } /// Returns the number of cards that have been compounded onto the specified equipped item. -/// getequpcardcnt(<equipment slot>); -BUILDIN(getequpcardcnt) +/// getequipcardcnt(<equipment slot>); +BUILDIN(getequipcardcnt) { int i=-1,j,num; TBL_PC *sd; @@ -16191,7 +16191,7 @@ BUILDIN(instance_check_party) { if( min < 1 || min > MAX_LEVEL){ ShowError("instance_check_party: Invalid min level, %d\n", min); return true; - }else if( max < 1 || max > MAX_LEVEL){ + } else if( max < 1 || max > MAX_LEVEL){ ShowError("instance_check_party: Invalid max level, %d\n", max); return true; } @@ -17533,7 +17533,7 @@ void script_parse_builtin(void) { BUILDIN_DEF(getcastledata,"si"), BUILDIN_DEF(setcastledata,"sii"), BUILDIN_DEF(requestguildinfo,"i?"), - BUILDIN_DEF(getequpcardcnt,"i"), + BUILDIN_DEF(getequipcardcnt,"i"), BUILDIN_DEF(successremovecards,"i"), BUILDIN_DEF(failedremovecards,"ii"), BUILDIN_DEF(marriage,"s"), |