Specify overloads for visual studio

This commit is contained in:
2023-01-27 13:46:58 -07:00
committed by Celtic Minstrel
parent ed9a8b035a
commit 1442e290a0
2 changed files with 3 additions and 3 deletions

View File

@@ -971,7 +971,7 @@ void cParty::readFrom(const cTagFile& file) {
}
vector2d<int> shop_stock;
page["SHOPSTOCK"].extractSparse(shop_stock);
page["SHOPSTOCK"].extractSparse<int>(shop_stock);
for(size_t x = 0; x < shop_stock.width(); x++) {
for(size_t y = 0; y < shop_stock.height(); y++) {
store_limited_stock[x][y] = shop_stock[x][y];