From 8f85487dbdc1a5f4bd3d01bc3fc75bba9b643124 Mon Sep 17 00:00:00 2001 From: shennetsind Date: Mon, 10 Jun 2013 21:34:41 -0300 Subject: Fixed a missing 'i' in getequipcardcnt When did this go away, no idea. Special Thanks to kyeme~! Signed-off-by: shennetsind --- src/map/script.c | 8 ++++---- 1 file 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(); -BUILDIN(getequpcardcnt) +/// getequipcardcnt(); +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"), -- cgit v1.2.3-70-g09d2