Skip to content

Commit

Permalink
fix: voc equip map
Browse files Browse the repository at this point in the history
  • Loading branch information
dudantas committed Nov 1, 2024
1 parent 3846574 commit 4e98420
Showing 1 changed file with 1 addition and 3 deletions.
4 changes: 1 addition & 3 deletions src/lua/creature/movement.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -869,7 +869,5 @@ bool MoveEvent::executeAddRemItem(const std::shared_ptr<Item> &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;
}

0 comments on commit 4e98420

Please sign in to comment.