Scripts/Commands: Remove unused argument of .cometome command

This commit is contained in:
DDuarte
2016-07-05 11:21:50 +01:00
parent d8919cc3d9
commit 1100fe6057
3 changed files with 2 additions and 9 deletions

View File

@@ -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';

View File

@@ -2124,17 +2124,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)
{