Core/GameObjects: Transport (type 11) improvements

* Fully synchronize serverside animation progress with client
* Implemented updating passenger positions on elevators
* Removed visibility hack for elevators that always forced CreateObject packet to be sent to client
This commit is contained in:
Shauren
2022-05-25 22:14:32 +02:00
parent 3031fbb63b
commit 630b60eb0d
33 changed files with 707 additions and 310 deletions
+1 -1
View File
@@ -1207,7 +1207,7 @@ public:
static bool HandleDebugTransportCommand(ChatHandler* handler, std::string operation)
{
Transport* transport = handler->GetPlayer()->GetTransport();
Transport* transport = dynamic_cast<Transport*>(handler->GetPlayer()->GetTransport());
if (!transport)
return false;