diff --git a/src/game/DBCStructure.cpp b/src/game/DBCStructure.cpp index e65314dcc..9edb9c2c8 100644 --- a/src/game/DBCStructure.cpp +++ b/src/game/DBCStructure.cpp @@ -271,13 +271,13 @@ uint32 SpellEntry::GetEffectImplicitTargetAByIndex(SpellEffectIndex index) const int32 SpellEntry::GetAreaGroupId() const { SpellCastingRequirementsEntry const* castReq = GetSpellCastingRequirements(); - return castReq ? castReq->AreaGroupId : -1; + return castReq ? castReq->AreaGroupId : 0; } uint32 SpellEntry::GetFacingCasterFlags() const { SpellCastingRequirementsEntry const* castReq = GetSpellCastingRequirements(); - return castReq ? castReq->FacingCasterFlags : -1; + return castReq ? castReq->FacingCasterFlags : 0; } uint32 SpellEntry::GetBaseLevel() const diff --git a/src/game/Item.cpp b/src/game/Item.cpp index 2d1892535..c0f0a9f53 100644 --- a/src/game/Item.cpp +++ b/src/game/Item.cpp @@ -208,6 +208,7 @@ bool ItemCanGoIntoBag(ItemPrototype const* pProto, ItemPrototype const* pBagProt case ITEM_SUBCLASS_INSCRIPTION_CONTAINER: if (!(pProto->BagFamily & BAG_FAMILY_MASK_INSCRIPTION_SUPP)) return false; + return true; case ITEM_SUBCLASS_FISHING_CONTAINER: if (!(pProto->BagFamily & BAG_FAMILY_MASK_FISHING_SUPP)) return false; diff --git a/src/shared/revision_nr.h b/src/shared/revision_nr.h index fce50a416..b8ee69827 100644 --- a/src/shared/revision_nr.h +++ b/src/shared/revision_nr.h @@ -1,4 +1,4 @@ #ifndef __REVISION_NR_H__ #define __REVISION_NR_H__ - #define REVISION_NR "12638" + #define REVISION_NR "12639" #endif // __REVISION_NR_H__