Skip to content

Commit

Permalink
fix: podium of renown rotate removing addon (#1606)
Browse files Browse the repository at this point in the history
When rotating, you also need to keep the old addon that the player
chose.
  • Loading branch information
dudantas authored Sep 16, 2023
1 parent 91e280c commit 5f1f98e
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions src/game/game.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -9087,6 +9087,7 @@ void Game::playerRotatePodium(uint32_t playerId, const Position &pos, uint8_t st
// We retrieve the outfit information to be able to rotate the podium of renown in the new direction
Outfit_t newOutfit;
newOutfit.lookType = InternalGame::getCustomAttributeValue<uint16_t>(item, "LookType");
newOutfit.lookAddons = InternalGame::getCustomAttributeValue<uint8_t>(item, "LookAddons");
newOutfit.lookHead = InternalGame::getCustomAttributeValue<uint8_t>(item, "LookHead");
newOutfit.lookBody = InternalGame::getCustomAttributeValue<uint8_t>(item, "LookBody");
newOutfit.lookLegs = InternalGame::getCustomAttributeValue<uint8_t>(item, "LookLegs");
Expand Down

0 comments on commit 5f1f98e

Please sign in to comment.