Core/Transports: ported transport refactoring
* this implements full support for stoppable transports as well as serverside transport position tracking * fixed several vehicle related issues * fixed gameobject passengers not being displayed as transport passengers * pets, dynamic objects and other summons are not added as transport passengers and will now properly be displayed Todo: - Deeprun Tram visual issues needs to be resolved - Lady Deathwhisper's elevator needs some additional research
This commit is contained in:
1 parent
d8bf3a3170
commit
5229a734dd
49 files changed
+1381
-602
No files matched your search
@@ -316,9 +316,6 @@ void Map::ScriptsProcess()
|
||||
case HighGuid::Corpse:
|
||||
source = GetCorpse(step.sourceGUID);
|
||||
break;
|
||||
case HighGuid::Mo_Transport:
|
||||
source = GetTransport(step.sourceGUID);
|
||||
break;
|
||||
default:
|
||||
TC_LOG_ERROR("scripts", "%s source with unsupported high guid %s.",
|
||||
step.script->GetDebugInfo().c_str(), step.sourceGUID.ToString().c_str());
|
||||
@@ -348,9 +345,6 @@ void Map::ScriptsProcess()
|
||||
case HighGuid::Corpse:
|
||||
target = GetCorpse(step.targetGUID);
|
||||
break;
|
||||
case HighGuid::Mo_Transport:
|
||||
target = GetTransport(step.targetGUID);
|
||||
break;
|
||||
default:
|
||||
TC_LOG_ERROR("scripts", "%s target with unsupported high guid %s.",
|
||||
step.script->GetDebugInfo().c_str(), step.targetGUID.ToString().c_str());
|
||||
|
||||
Reference in new issue
Block a user