summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorHaru <haru@dotalux.com>2015-05-08 16:19:35 +0200
committerHaru <haru@dotalux.com>2015-05-08 16:21:05 +0200
commit513059cad7510c20f44e1a19f731efbe2f28dbec (patch)
tree4f5f9e034e69b07d77af5655e8317c6a8d94819f
parentc292b398588764d8d2674b12142630119a06786e (diff)
downloadhercules-513059cad7510c20f44e1a19f731efbe2f28dbec.tar.gz
hercules-513059cad7510c20f44e1a19f731efbe2f28dbec.tar.bz2
hercules-513059cad7510c20f44e1a19f731efbe2f28dbec.tar.xz
hercules-513059cad7510c20f44e1a19f731efbe2f28dbec.zip
Removed deprecated command isday
- Follow-up to b1b1b1aa8edc866a83029081e93d3e7d0f138189 Signed-off-by: Haru <haru@dotalux.com>
-rw-r--r--doc/script_commands.txt9
-rw-r--r--src/map/script.c6
2 files changed, 0 insertions, 15 deletions
diff --git a/doc/script_commands.txt b/doc/script_commands.txt
index 40457d8cf..3a8ec4fc0 100644
--- a/doc/script_commands.txt
+++ b/doc/script_commands.txt
@@ -3973,15 +3973,6 @@ night mode or day mode:
if (!isnight()) mes "I only prowl in the night.";
-*isday()
- @@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@
- @ /!\ This command is deprecated @
- @@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@
-
-This command is deprecated and it should not be used in new scripts, as it
-is likely to be removed at a later time. Please consider using !isnight()
-instead.
-
---------------------------------------
*checkre(<type>)
diff --git a/src/map/script.c b/src/map/script.c
index 0bef11160..ecffeffd8 100644
--- a/src/map/script.c
+++ b/src/map/script.c
@@ -14255,11 +14255,6 @@ BUILDIN(isnight) {
return true;
}
-BUILDIN(isday) {
- script_pushint(st,(map->night_flag == 0));
- return true;
-}
-
/*================================================
* Check how many items/cards in the list are
* equipped - used for 2/15's cards patch [celest]
@@ -20012,7 +20007,6 @@ void script_parse_builtin(void) {
BUILDIN_DEF(logmes,"s"), //this command actls as MES but rints info into LOG file either SQL/TXT [Lupus]
BUILDIN_DEF(summon,"si??"), // summons a slave monster [Celest]
BUILDIN_DEF(isnight,""), // check whether it is night time [Celest]
- BUILDIN_DEF_DEPRECATED(isday,""), // check whether it is day time [Celest] // DEPRECATED 2015-01-21 [Haru]
BUILDIN_DEF(isequipped,"i*"), // check whether another item/card has been equipped [Celest]
BUILDIN_DEF(isequippedcnt,"i*"), // check how many items/cards are being equipped [Celest]
BUILDIN_DEF(cardscnt,"i*"), // check how many items/cards are being equipped in the same arm [Lupus]