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:
@@ -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;
|
||||
|
||||
|
||||
Reference in New Issue
Block a user