Scripts/Commands: Remove unused argument of .cometome command
This commit is contained in:
1 parent
a8a8ff596d
commit
b942fd40a9
1 file changed
+1
-9
@@ -2139,17 +2139,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