diff options
Diffstat (limited to 'src/being/localplayer.cpp')
-rw-r--r-- | src/being/localplayer.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/being/localplayer.cpp b/src/being/localplayer.cpp index 60518842d..935b64c70 100644 --- a/src/being/localplayer.cpp +++ b/src/being/localplayer.cpp @@ -2944,7 +2944,7 @@ void LocalPlayer::imitateOutfit(const Being *const player, const int equipmentSlot = inventoryHandler ->convertFromServerSlot(sprite); // logger->log("equipmentSlot: " + toString(equipmentSlot)); - if (equipmentSlot == ItemSlot::PROJECTILE_SLOT) + if (equipmentSlot == inventoryHandler->getProjectileSlot()) return; const Item *const item = PlayerInfo::getEquipment(equipmentSlot); |