1
0
mirror of https://github.com/vcmi/vcmi.git synced 2024-12-24 22:14:36 +02:00

Fix compilation

This commit is contained in:
Piotr Wójcik 2017-10-17 09:55:11 +02:00
parent f9ed952869
commit 802680f925

View File

@ -218,9 +218,9 @@ void CCallback::trade(const CGObjectInstance *market, EMarketMode::EMarketMode m
pack.market = market;
pack.hero = hero;
pack.mode = mode;
pack.r1 = std::vector<ui32>{id1};
pack.r2 = std::vector<ui32>{id2};
pack.val = std::vector<ui32>{val1};
pack.r1 = std::vector<ui32>{static_cast<ui32>(id1)};
pack.r2 = std::vector<ui32>{static_cast<ui32>(id2)};
pack.val = std::vector<ui32>{static_cast<ui32>(val1)};
sendRequest(&pack);
}