Core/Spells: Fixed charge effects with non-explicit targets
This commit is contained in:
1 parent
20cd6cfc61
commit
d926ad63c0
9 files changed
+34
-30
No files matched your search
@@ -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());
|
||||
|
||||
Reference in new issue
Block a user