aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--sql/updates/world/3.3.5/2016_07_05_02_world.sql1
-rw-r--r--src/server/scripts/Commands/cs_misc.cpp10
2 files changed, 2 insertions, 9 deletions
diff --git a/sql/updates/world/3.3.5/2016_07_05_02_world.sql b/sql/updates/world/3.3.5/2016_07_05_02_world.sql
new file mode 100644
index 00000000000..2921c19b0c1
--- /dev/null
+++ b/sql/updates/world/3.3.5/2016_07_05_02_world.sql
@@ -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';
diff --git a/src/server/scripts/Commands/cs_misc.cpp b/src/server/scripts/Commands/cs_misc.cpp
index 7ad80352995..31af42d0010 100644
--- a/src/server/scripts/Commands/cs_misc.cpp
+++ b/src/server/scripts/Commands/cs_misc.cpp
@@ -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)
{