mirror of
https://github.com/TrinityCore/TrinityCore.git
synced 2026-02-19 08:30:34 +01:00
Scripts/Commands: Remove unused argument of .cometome command
This commit is contained in:
1
sql/updates/world/3.3.5/2016_07_05_02_world.sql
Normal file
1
sql/updates/world/3.3.5/2016_07_05_02_world.sql
Normal 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';
|
||||
@@ -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)
|
||||
{
|
||||
|
||||
Reference in New Issue
Block a user