mirror of
https://github.com/SWG-Source/src.git
synced 2026-07-31 00:15:55 -04:00
Consider all bazaars (not just the restuss ones) as persisted.
This commit is contained in:
@@ -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));
|
||||
}
|
||||
|
||||
// ======================================================================
|
||||
|
||||
Reference in New Issue
Block a user