summaryrefslogtreecommitdiff
path: root/src/map
diff options
context:
space:
mode:
authormekolat <mekolat@users.noreply.github.com>2015-04-23 13:09:00 -0400
committermekolat <mekolat@users.noreply.github.com>2015-04-23 13:09:00 -0400
commitbaa0600bc0e8eb5f9d156af0fadc795881739f54 (patch)
treeb51b76f86ee425c85d17b97acca0469b28e1cd83 /src/map
parent5d2b8234597e9560d2c664a04ba16c61011096a2 (diff)
downloadtmwa-baa0600bc0e8eb5f9d156af0fadc795881739f54.tar.gz
tmwa-baa0600bc0e8eb5f9d156af0fadc795881739f54.tar.bz2
tmwa-baa0600bc0e8eb5f9d156af0fadc795881739f54.tar.xz
tmwa-baa0600bc0e8eb5f9d156af0fadc795881739f54.zip
remove deprecated gmcommand builtin
Diffstat (limited to 'src/map')
-rw-r--r--src/map/script-fun.cpp20
1 files changed, 0 insertions, 20 deletions
diff --git a/src/map/script-fun.cpp b/src/map/script-fun.cpp
index bfad390..93db18d 100644
--- a/src/map/script-fun.cpp
+++ b/src/map/script-fun.cpp
@@ -2610,25 +2610,6 @@ void builtin_unequipbyid(ScriptState *st)
}
/*==========================================
- * gmcommand [MouseJstr]
- *
- * suggested on the forums...
- *------------------------------------------
- */
-
-static
-void builtin_gmcommand(ScriptState *st)
-{
- dumb_ptr<map_session_data> sd;
-
- sd = script_rid2sd(st);
- RString cmd = conv_str(st, &AARG(0));
-
- is_atcommand(sd->sess, sd, cmd, GmLevel::from(-1U));
-
-}
-
-/*==========================================
* npcwarp [remoitnane]
* Move NPC to a new position on the same map.
*------------------------------------------
@@ -3217,7 +3198,6 @@ BuiltinFunction builtin_functions[] =
BUILTIN(specialeffect2, "i"_s, '\0'),
BUILTIN(nude, ""_s, '\0'),
BUILTIN(unequipbyid, "i"_s, '\0'),
- BUILTIN(gmcommand, "s"_s, '\0'),
BUILTIN(npcwarp, "xys"_s, '\0'),
BUILTIN(npcareawarp, "xyxyis"_s, '\0'),
BUILTIN(message, "Ps"_s, '\0'),