aboutsummaryrefslogtreecommitdiff
path: root/src/server/scripts
diff options
context:
space:
mode:
authorShauren <shauren.trinity@gmail.com>2013-02-13 20:21:26 +0100
committerShauren <shauren.trinity@gmail.com>2013-02-13 20:21:26 +0100
commitd926ad63c037457198cec8a28a86863643d92dc6 (patch)
treef75b8869059d5dcb6816ece0a9872f2ec1bc4ced /src/server/scripts
parent20cd6cfc61414c47a6ed784e62f967ca6b44960e (diff)
Core/Spells: Fixed charge effects with non-explicit targets
Diffstat (limited to 'src/server/scripts')
-rw-r--r--src/server/scripts/Commands/cs_mmaps.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/server/scripts/Commands/cs_mmaps.cpp b/src/server/scripts/Commands/cs_mmaps.cpp
index 97861133983..79cd0deb75e 100644
--- a/src/server/scripts/Commands/cs_mmaps.cpp
+++ b/src/server/scripts/Commands/cs_mmaps.cpp
@@ -95,7 +95,7 @@ public:
path.SetUseStraightPath(useStraightPath);
bool result = path.CalculatePath(x, y, z);
- PointsArray pointPath = path.GetPath();
+ PointsArray const& pointPath = path.GetPath();
handler->PSendSysMessage("%s's path to %s:", target->GetName().c_str(), player->GetName().c_str());
handler->PSendSysMessage("Building: %s", useStraightPath ? "StraightPath" : "SmoothPath");
handler->PSendSysMessage("Result: %s - Length: "SIZEFMTD" - Type: %u", (result ? "true" : "false"), pointPath.size(), path.GetPathType());