diff --git a/Source/UI/Shop/UIBartermarketWnd.cpp b/Source/UI/Shop/UIBartermarketWnd.cpp index dae2d65e1..0c9c43667 100644 --- a/Source/UI/Shop/UIBartermarketWnd.cpp +++ b/Source/UI/Shop/UIBartermarketWnd.cpp @@ -278,7 +278,7 @@ std::pair UIExpandedBarterItemPurchaseWnd::GetEntryAt(i for (std::list::iterator it = this->entries.begin(); it != this->entries.end(); ++it, ++index) { if (index >= this->firstRow) { if (visible == row) { - return std::make_pair(true, *it); + return std::pair(true, *it); } ++visible; } @@ -298,7 +298,7 @@ std::pair UIExpandedBartermarketWnd::GetEntryAt(int x, for (std::list::iterator it = this->entries.begin(); it != this->entries.end(); ++it, ++index) { if (index >= this->firstRow) { if (visible == (y - 17) / 64) { - return std::make_pair(true, *it); + return std::pair(true, *it); } ++visible; } @@ -368,14 +368,14 @@ std::pair UIExpandedBartermarketWnd::GetEntryOrChunkAt( char buffer[16] = {}; entry.name = _itoa(chunk->field_0, buffer, 10); entry.field_0 = chunk->field_c; - return std::make_pair(true, entry); + return std::pair(true, entry); } right += 42; } } if (x > 40 && x < 72) { entry = *it; - return std::make_pair(true, entry); + return std::pair(true, entry); } } ++visible;