Consider all bazaars (not just the restuss ones) as persisted.

This commit is contained in:
apathy
2016-09-26 06:24:19 +00:00
committed by DarthArgus
parent f7d5eeb160
commit e517f98f9c
@@ -317,7 +317,7 @@ bool PositionUpdateTrackerNamespace::isContainerConsideredPersisted(ServerObject
// and also consider all buildout bazaar terminals (crc 0x8c525205) to be persisted to handle the case of the
// Restuss bazaar terminals which are buildout which are not persisted, so when a player places an item on those
// bazaar terminals, we need to update the database that the items are now contained inside the bazaar terminals
return container.isPersisted() || (obj.isPlayerControlled() && container.getNetworkId() < NetworkId::cms_invalid) || ((container.getNetworkId() < NetworkId::cms_invalid) && container.getObjectTemplate() && (container.getObjectTemplate()->getCrcName().getCrc() == 0x8c525205));
return container.isPersisted() || (obj.isPlayerControlled() && container.getNetworkId() < NetworkId::cms_invalid) || (container.getObjectTemplate() && (container.getObjectTemplate()->getCrcName().getCrc() == 0x8c525205));
}
// ======================================================================