Crash handler: don't hang on a corrupted heap; fix guild tribute names (#5130)

This commit is contained in:
straps-eq authored and GitHub committed 2026-11-10 23:35:33 -08:00
1 parent c9c8747ac9
commit a572b03f56
9 files changed
+33 -10

No files matched your search

+2 -2
View File
@@ -313,9 +313,9 @@ int8 EQ::ItemInstance::AvailableAugmentSlot(int32 augment_type) const
return INVALID_INDEX;
}
bool EQ::ItemInstance::IsAugmentSlotAvailable(int32 augment_type, uint8 slot) const
bool EQ::ItemInstance::IsAugmentSlotAvailable(int32 augment_type, uint8 slot, bool allow_occupied) const
{
if (!m_item || !m_item->IsClassCommon() || GetItem(slot)) {
if (!m_item || !m_item->IsClassCommon() || (!allow_occupied && GetItem(slot))) {
return false;
}