*Use uint64 instead of uint32 in AHbot prizes calculation to prevent overflow - by MaXIMUS.
--HG-- branch : trunk
This commit is contained in:
@@ -357,8 +357,8 @@ static void addNewAuctions(Player *AHBplayer, AHBConfig *config)
|
||||
if (randomPropertyId != 0)
|
||||
item->SetItemRandomProperties(randomPropertyId);
|
||||
|
||||
uint32 buyoutPrice;
|
||||
uint32 bidPrice = 0;
|
||||
uint64 buyoutPrice;
|
||||
uint64 bidPrice = 0;
|
||||
uint32 stackCount = urand(1, item->GetMaxStackCount());
|
||||
|
||||
switch (SellMethod)
|
||||
|
||||
Reference in New Issue
Block a user