Core/Movement: add velocity field to waypoint_data to allow specifying custom speed value for waypoints and cyclic splines
* standartized member naming in WaypointNode and WaypointPath struct
This commit is contained in:
1 parent
8bbe17c684
commit
361ac2292b
12 files changed
+144
-133
No files matched your search
@@ -79,8 +79,8 @@ void SystemMgr::LoadScriptWaypoints()
|
||||
TC_LOG_ERROR("sql.sql", "SystemMgr: DB table script_waypoint has waypoint for creature entry %u, but creature does not have ScriptName defined and then useless.", entry);
|
||||
|
||||
WaypointPath& path = _waypointStore[entry];
|
||||
path.id = entry;
|
||||
path.nodes.emplace_back(id, x, y, z, 0.f, waitTime);
|
||||
path.Id = entry;
|
||||
path.Nodes.emplace_back(id, x, y, z, 0.f, 0.f, waitTime);
|
||||
|
||||
++count;
|
||||
} while (result->NextRow());
|
||||
|
||||
Reference in new issue
Block a user