aboutsummaryrefslogtreecommitdiff
path: root/src/server/game/Chat/Commands
diff options
context:
space:
mode:
authorShocker <shocker@freakz.ro>2012-04-23 17:21:42 -0700
committerShocker <shocker@freakz.ro>2012-04-23 17:21:42 -0700
commit83e1e1764905f361bfcc39ea36d70f1d70d9d0d0 (patch)
tree9bd4ba95ab4d4962d13fa56350ad530e546976a4 /src/server/game/Chat/Commands
parentcf305bc7c9dcfc66f7ff5ce864650228b12fc5d6 (diff)
parent7e793575be1748e244382225b23731de8b771e00 (diff)
Merge pull request #6008 from cookta2012/troy09
Core/Commands: Some porting and organizing Moving a commands around eliminating a unnecessary file, and porting the "demorph" command * moved the "wpgps" command into the cs_debug.cpp because it seems more fitting * organized the "modify speed" commands into a table of their own * moved the "gps" command into the cs_misc.cpp
Diffstat (limited to 'src/server/game/Chat/Commands')
-rwxr-xr-xsrc/server/game/Chat/Commands/Level2.cpp16
1 files changed, 0 insertions, 16 deletions
diff --git a/src/server/game/Chat/Commands/Level2.cpp b/src/server/game/Chat/Commands/Level2.cpp
index cc638193b5a..52bdcd15163 100755
--- a/src/server/game/Chat/Commands/Level2.cpp
+++ b/src/server/game/Chat/Commands/Level2.cpp
@@ -205,22 +205,6 @@ bool ChatHandler::HandleItemMoveCommand(const char* args)
return true;
}
-//demorph player or unit
-bool ChatHandler::HandleDeMorphCommand(const char* /*args*/)
-{
- Unit* target = getSelectedUnit();
- if (!target)
- target = m_session->GetPlayer();
-
- // check online security
- else if (target->GetTypeId() == TYPEID_PLAYER && HasLowerSecurity((Player*)target, 0))
- return false;
-
- target->DeMorph();
-
- return true;
-}
-
//kick player
bool ChatHandler::HandleKickPlayerCommand(const char *args)
{