summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorHaru <haru@dotalux.com>2014-12-02 10:49:39 +0100
committerHaru <haru@dotalux.com>2014-12-02 10:49:39 +0100
commit93216b60f0a37c07ede003e9d548c892ae543cfe (patch)
treea1150dae242ce0eea119e692944ab1d6961c83bd
parentdae167864b5892e9065d7beb276362b80618c7c4 (diff)
downloadhercules-93216b60f0a37c07ede003e9d548c892ae543cfe.tar.gz
hercules-93216b60f0a37c07ede003e9d548c892ae543cfe.tar.bz2
hercules-93216b60f0a37c07ede003e9d548c892ae543cfe.tar.xz
hercules-93216b60f0a37c07ede003e9d548c892ae543cfe.zip
Removed jump_zero command
- Follow-up to bcf7a77 Signed-off-by: Haru <haru@dotalux.com>
-rw-r--r--doc/script_commands.txt22
-rw-r--r--src/map/script.c1
2 files changed, 0 insertions, 23 deletions
diff --git a/doc/script_commands.txt b/doc/script_commands.txt
index ec8274716..4cf004068 100644
--- a/doc/script_commands.txt
+++ b/doc/script_commands.txt
@@ -2056,28 +2056,6 @@ else if (<condition 2>) {
---------------------------------------
-*jump_zero (<condition>),<label>;
-
- @@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@
- @ /!\ This command is deprecated @
- @@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@
-
-This command is deprecated and it should not be used in new scripts, as it is
-scheduled to be removed at any time on or after November 27th, 2014. Please
-consider using 'if', 'switch', 'for', 'while', as appropriate.
-
-This command works like an 'if'+'goto' combination in one go. (See 'if').
-If the condition is false (equal to zero) this command will immediately
-jump to the specified label like in 'goto'.
-
-This command should not be used in scripts directly.
-
-The main reason for this command is that other control statements, like
-'switch', 'for' or 'while', are disassembled into simple expressions
-together with this command when a script is parsed.
-
----------------------------------------
-
*while (<condition>) <statement>;
This is probably the simplest and most frequently used loop structure. The
diff --git a/src/map/script.c b/src/map/script.c
index aa90a5b1c..7a1ef6e4b 100644
--- a/src/map/script.c
+++ b/src/map/script.c
@@ -19285,7 +19285,6 @@ void script_parse_builtin(void) {
BUILDIN_DEF(gethominfo,"i"),
BUILDIN_DEF(getmercinfo,"i?"),
BUILDIN_DEF(checkequipedcard,"i"),
- BUILDIN_DEF2_DEPRECATED(__jump_zero,"jump_zero","il"), // Deprecated 2014-10-27 [Haru]
BUILDIN_DEF(globalmes,"s?"), //end jA addition
BUILDIN_DEF(unequip,"i"), // unequip command [Spectre]
BUILDIN_DEF(getstrlen,"s"), //strlen [Valaris]