diff options
author | Haru <haru@dotalux.com> | 2016-05-14 19:36:59 +0200 |
---|---|---|
committer | Haru <haru@dotalux.com> | 2016-05-14 19:36:59 +0200 |
commit | 3be7c7f971fdacede11a6319121e42c45ea6ac01 (patch) | |
tree | 64166196c8437f2ef5bfd0f571011321efc0cb5f | |
parent | f651258108a1ca6e071ea7f0b790d5cb1834f7d2 (diff) | |
download | hercules-3be7c7f971fdacede11a6319121e42c45ea6ac01.tar.gz hercules-3be7c7f971fdacede11a6319121e42c45ea6ac01.tar.bz2 hercules-3be7c7f971fdacede11a6319121e42c45ea6ac01.tar.xz hercules-3be7c7f971fdacede11a6319121e42c45ea6ac01.zip |
Removed leftover definition of BUILDIN(checkre)
- The command was already deprecated in ca877ec and removed in 7e93d08
- Resolves #1288
Signed-off-by: Haru <haru@dotalux.com>
-rw-r--r-- | src/map/script.c | 62 |
1 files changed, 0 insertions, 62 deletions
diff --git a/src/map/script.c b/src/map/script.c index a5e45f503..07b37571e 100644 --- a/src/map/script.c +++ b/src/map/script.c @@ -18873,68 +18873,6 @@ BUILDIN(useatcmd) { return true; } -BUILDIN(checkre) -{ - int num; - - num=script_getnum(st,2); - switch(num) { - case 0: -#ifdef RENEWAL - script_pushint(st, 1); -#else - script_pushint(st, 0); -#endif - break; - case 1: -#ifdef RENEWAL_CAST - script_pushint(st, 1); -#else - script_pushint(st, 0); -#endif - break; - case 2: -#ifdef RENEWAL_DROP - script_pushint(st, 1); -#else - script_pushint(st, 0); -#endif - break; - case 3: -#ifdef RENEWAL_EXP - script_pushint(st, 1); -#else - script_pushint(st, 0); -#endif - break; - case 4: -#ifdef RENEWAL_LVDMG - script_pushint(st, 1); -#else - script_pushint(st, 0); -#endif - break; - case 5: -#ifdef RENEWAL_EDP - script_pushint(st, 1); -#else - script_pushint(st, 0); -#endif - break; - case 6: -#ifdef RENEWAL_ASPD - script_pushint(st, 1); -#else - script_pushint(st, 0); -#endif - break; - default: - ShowWarning("buildin_checkre: unknown parameter.\n"); - break; - } - return true; -} - /* getrandgroupitem <container_item_id>,<quantity> */ BUILDIN(getrandgroupitem) { struct item_data *data = NULL; |