aboutsummaryrefslogtreecommitdiff
path: root/src/server/game/AuctionHouseBot/AuctionHouseBot.cpp
diff options
context:
space:
mode:
authorTreeston <treeston.mmoc@gmail.com>2020-07-14 01:35:25 +0200
committerShauren <shauren.trinity@gmail.com>2022-01-23 21:36:03 +0100
commitd11c3807b32d51e48ed4557972a627f6366956d9 (patch)
tree3a551793088ff8b7d1475cc1045fbab811b94188 /src/server/game/AuctionHouseBot/AuctionHouseBot.cpp
parentdfc1f08bd84503f6023d033396fc33d356220a62 (diff)
Core/Time: Rename GetGameTime{System, Steady}Point methods
The names are a bit unhandy. Rename them (shorter but still meaningful). GetGameTimeSystemPoint() -> GetSystemTime() GetGameTimeSteadyPoint() -> Now() Also add 2 new typedefs: typedef std::chrono::steady_clock::time_point TimePoint; typedef std::chrono::system_clock::time_point SystemTimePoint; Closes #25042 (cherry picked from commit 896b68d5c297b06587645caebc98b704978ecaa7)
Diffstat (limited to 'src/server/game/AuctionHouseBot/AuctionHouseBot.cpp')
-rw-r--r--src/server/game/AuctionHouseBot/AuctionHouseBot.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/server/game/AuctionHouseBot/AuctionHouseBot.cpp b/src/server/game/AuctionHouseBot/AuctionHouseBot.cpp
index b93a979033c..403562c998c 100644
--- a/src/server/game/AuctionHouseBot/AuctionHouseBot.cpp
+++ b/src/server/game/AuctionHouseBot/AuctionHouseBot.cpp
@@ -507,7 +507,7 @@ void AuctionHouseBot::Rebuild(bool all)
for (auto itr = auctionHouse->GetAuctionsBegin(); itr != auctionHouse->GetAuctionsEnd(); ++itr)
if (itr->second.Owner.IsEmpty() || sAuctionBotConfig->IsBotChar(itr->second.Owner)) // ahbot auction
if (all || itr->second.BidAmount == 0) // expire now auction if no bid or forced
- itr->second.EndTime = GameTime::GetGameTimeSystemPoint();
+ itr->second.EndTime = GameTime::GetSystemTime();
}
}