Scripts/Commands: Remove unused argument of .cometome command

This commit is contained in:
Aokromes committed 2016-07-20 18:36:33 +02:00
1 parent a8a8ff596d
commit b942fd40a9
1 file changed
+1 -9
+1 -9
View File
@@ -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)
{