Send all elevator transports to player upon add to map.

This commit is contained in:
ratkosrb
2021-07-03 11:18:44 +03:00
parent cfeffb2ccb
commit e776319fc4
10 changed files with 188 additions and 63 deletions
-3
View File
@@ -289,9 +289,6 @@ void Object::BuildCreateUpdateBlockForPlayer(UpdateData& data, Player* target) c
updateFlags |= UPDATEFLAG_SELF;
#endif
if (isType(TYPEMASK_GAMEOBJECT) && static_cast<GameObject const*>(this)->GetGoType() == GAMEOBJECT_TYPE_TRANSPORT)
updateFlags |= UPDATEFLAG_TRANSPORT;
//DEBUG_LOG("BuildCreateUpdate: update-type: %u, object-type: %u got updateFlags: %X", updatetype, m_objectTypeId, updateFlags);
ByteBuffer buf(500);