From 4e98420b5970b010f4811a9c670b5f1ac6de1959 Mon Sep 17 00:00:00 2001 From: Eduardo Dantas Date: Fri, 1 Nov 2024 05:33:35 -0300 Subject: [PATCH] fix: voc equip map --- src/lua/creature/movement.cpp | 4 +--- 1 file changed, 1 insertion(+), 3 deletions(-) diff --git a/src/lua/creature/movement.cpp b/src/lua/creature/movement.cpp index df2d1116610..6804cdfa7e9 100644 --- a/src/lua/creature/movement.cpp +++ b/src/lua/creature/movement.cpp @@ -869,7 +869,5 @@ bool MoveEvent::executeAddRemItem(const std::shared_ptr &item, const Posit void MoveEvent::addVocEquipMap(const std::string &vocName) { const uint16_t vocationId = g_vocations().getVocationId(vocName); - if (vocationId != 65535) { - vocEquipMap[vocationId] = true; - } + vocEquipMap[vocationId] = true; }