mirror of
https://github.com/TrinityCore/TrinityCore.git
synced 2026-01-16 07:30:42 +01:00
Core/Transports: Path generation rewrite v2
* No TaxiPathNode row is skipped anymore (events/delays on first node now work) * Fixed transport animation synchronization with client * Fixed stoppable transports randomly resuming their path after relogging Closes #27985
This commit is contained in:
@@ -1921,10 +1921,10 @@ void ScriptMgr::OnTransportUpdate(Transport* transport, uint32 diff)
|
||||
tmpscript->OnUpdate(transport, diff);
|
||||
}
|
||||
|
||||
void ScriptMgr::OnRelocate(Transport* transport, uint32 waypointId, uint32 mapId, float x, float y, float z)
|
||||
void ScriptMgr::OnRelocate(Transport* transport, uint32 mapId, float x, float y, float z)
|
||||
{
|
||||
GET_SCRIPT(TransportScript, transport->GetScriptId(), tmpscript);
|
||||
tmpscript->OnRelocate(transport, waypointId, mapId, x, y, z);
|
||||
tmpscript->OnRelocate(transport, mapId, x, y, z);
|
||||
}
|
||||
|
||||
void ScriptMgr::OnStartup()
|
||||
|
||||
Reference in New Issue
Block a user