Core/Spells: Fixed charge effects with non-explicit targets

This commit is contained in:
Shauren committed 2013-02-13 20:21:26 +01:00
1 parent 20cd6cfc61
commit d926ad63c0
9 files changed
+34 -30

No files matched your search

+1 -1
View File
@@ -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());