Skip to content

Commit

Permalink
Fix equipped item model display for 1.5 client (#2180)
Browse files Browse the repository at this point in the history
  • Loading branch information
codestothestars authored Aug 26, 2023
1 parent f629142 commit 6b2a8ed
Showing 1 changed file with 4 additions and 0 deletions.
4 changes: 4 additions & 0 deletions src/game/Objects/Item.h
Original file line number Diff line number Diff line change
Expand Up @@ -159,7 +159,11 @@ enum EnchantmentSlot
MAX_ENCHANTMENT_SLOT = 7
};

#if SUPPORTED_CLIENT_BUILD > CLIENT_BUILD_1_5_1
#define MAX_VISIBLE_ITEM_OFFSET 12
#else
#define MAX_VISIBLE_ITEM_OFFSET 11
#endif

enum EnchantmentOffset
{
Expand Down

0 comments on commit 6b2a8ed

Please sign in to comment.