mirror of
https://github.com/TrinityCore/TrinityCore.git
synced 2026-01-27 04:12:40 +01:00
Core/Misc: Partial compile fix
This commit is contained in:
@@ -1,2 +1,4 @@
|
||||
--
|
||||
/*
|
||||
UPDATE `gameobject_template_addon` SET `flags`=`flags`|4 WHERE `entry` IN (SELECT `entry` FROM `gameobject_template` WHERE `type`=2 AND `data3`=0);
|
||||
*/
|
||||
|
||||
@@ -229,7 +229,7 @@ class TC_GAME_API Item : public Object
|
||||
void SetBinding(bool val) { ApplyModFlag(ITEM_FIELD_FLAGS, ITEM_FIELD_FLAG_SOULBOUND, val); }
|
||||
bool IsSoulBound() const { return HasFlag(ITEM_FIELD_FLAGS, ITEM_FIELD_FLAG_SOULBOUND); }
|
||||
bool IsBoundAccountWide() const { return (GetTemplate()->Flags & ITEM_FLAG_IS_BOUND_TO_ACCOUNT) != 0; }
|
||||
bool IsBattlenetAccountBound() const { return (GetTemplate()->Flags2 & ITEM_FLAGS_EXTRA_BNET_ACCOUNT_BOUND) != 0; }
|
||||
bool IsBattlenetAccountBound() const { return (GetTemplate()->Flags2 & ITEM_FLAG2_BNET_ACCOUNT_TRADE_OK) != 0; }
|
||||
bool IsBindedNotWith(Player const* player) const;
|
||||
bool IsBoundByEnchant() const;
|
||||
virtual void SaveToDB(SQLTransaction& trans);
|
||||
|
||||
Reference in New Issue
Block a user