From baa0600bc0e8eb5f9d156af0fadc795881739f54 Mon Sep 17 00:00:00 2001 From: mekolat Date: Thu, 23 Apr 2015 13:09:00 -0400 Subject: remove deprecated gmcommand builtin --- src/map/script-fun.cpp | 20 -------------------- 1 file changed, 20 deletions(-) (limited to 'src') 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 @@ -2609,25 +2609,6 @@ void builtin_unequipbyid(ScriptState *st) } -/*========================================== - * gmcommand [MouseJstr] - * - * suggested on the forums... - *------------------------------------------ - */ - -static -void builtin_gmcommand(ScriptState *st) -{ - dumb_ptr 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'), -- cgit v1.2.3-60-g2f50