Scripts/Commands: Remove unused argument of .cometome command

(cherry picked from commit 1100fe60572b186eee98b6b7cbdccf5a2d67b7e1)

# Conflicts:
#	sql/updates/world/3.3.5/2016_07_05_01_world.sql
This commit is contained in:
DDuarte
2016-07-05 11:23:04 +01:00
parent a2ac2b3cc7
commit 7ab5145321
2 changed files with 2 additions and 9 deletions
@@ -0,0 +1 @@
UPDATE `command` SET `help` = 'Syntax: .cometome\nMake selected creature come to your current location (new position not saved to DB).' WHERE `command`.`name` = 'cometome';
+1 -9
View File
@@ -2183,17 +2183,9 @@ public:
}
return true;
}
/*
ComeToMe command REQUIRED for 3rd party scripting library to have access to PointMovementGenerator
Without this function 3rd party scripting library will get linking errors (unresolved external)
when attempting to use the PointMovementGenerator
*/
static bool HandleComeToMeCommand(ChatHandler* handler, char const* args)
{
char const* newFlagStr = strtok((char*)args, " ");
if (!newFlagStr)
return false;
Creature* caster = handler->getSelectedCreature();
if (!caster)
{