summaryrefslogtreecommitdiff
path: root/src/map
diff options
context:
space:
mode:
authorshennetsind <ind@henn.et>2013-06-10 21:34:41 -0300
committershennetsind <ind@henn.et>2013-06-10 21:34:41 -0300
commit8f85487dbdc1a5f4bd3d01bc3fc75bba9b643124 (patch)
tree968a918102672afe4e2c0df1fbf65bb34d25bd9b /src/map
parent31f9100638dfaf4db057a7653835f715ac8ae94e (diff)
downloadhercules-8f85487dbdc1a5f4bd3d01bc3fc75bba9b643124.tar.gz
hercules-8f85487dbdc1a5f4bd3d01bc3fc75bba9b643124.tar.bz2
hercules-8f85487dbdc1a5f4bd3d01bc3fc75bba9b643124.tar.xz
hercules-8f85487dbdc1a5f4bd3d01bc3fc75bba9b643124.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/map')
-rw-r--r--src/map/script.c8
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"),