1
0
mirror of https://github.com/vcmi/vcmi.git synced 2025-08-13 19:54:17 +02:00

Compile fix.

This commit is contained in:
Frank Zago
2010-07-30 02:08:53 +00:00
parent 052e4f08e5
commit 686061071f

View File

@@ -2451,7 +2451,7 @@ void CBonusSelection::updateBonusSelection()
case 5: //primary skill case 5: //primary skill
{ {
int leadingSkill = -1; int leadingSkill = -1;
std::vector<std::pair<int, int>> toPrint; //primary skills to be listed <num, val> std::vector<std::pair<int, int> > toPrint; //primary skills to be listed <num, val>
const ui8* ptr = reinterpret_cast<const ui8*>(&bonDescs[i].info2); const ui8* ptr = reinterpret_cast<const ui8*>(&bonDescs[i].info2);
for (int g=0; g<PRIMARY_SKILLS; ++g) for (int g=0; g<PRIMARY_SKILLS; ++g)
{ {