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:
@@ -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';
|
||||
@@ -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)
|
||||
{
|
||||
|
||||
Reference in New Issue
Block a user