Skip to content

Commit

Permalink
fix days to end bid
Browse files Browse the repository at this point in the history
  • Loading branch information
murilo09 committed Oct 30, 2024
1 parent f6a76ff commit 1873607
Show file tree
Hide file tree
Showing 2 changed files with 1 addition and 1 deletion.
1 change: 1 addition & 0 deletions src/game/game.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -10810,6 +10810,7 @@ void Game::playerCyclopediaHouseBid(uint32_t playerId, uint32_t houseId, uint64_
house->setBidderName(player->getName());
house->setBidder(player->getGUID());
house->calculateBidEndDate(1);
house->calculateBidEndDate(7);
} else if (house->getBidderName() == player->getName()) {
if (!processBankAuction(player, house, bidValue, true)) {
player->sendHouseAuctionMessage(houseId, HouseAuctionType::Bid, enumToValue(ret));
Expand Down
1 change: 0 additions & 1 deletion src/server/network/protocol/protocolgame.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -9267,7 +9267,6 @@ void ProtocolGame::parseCyclopediaHouseAuction(NetworkMessage &msg) {
}

uint8_t houseActionType = msg.getByte();
g_logger().warn("houseActionType {}", houseActionType);
switch (houseActionType) {
case 0: {
const auto townName = msg.getString();
Expand Down

0 comments on commit 1873607

Please sign in to comment.