Fixed compilation proble with VS.
git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/main/trunk@5323 178a84e3-b1eb-0310-8ba1-8eac791a3b58
This commit is contained in:
parent
baabc572aa
commit
d780f8920b
@ -691,7 +691,12 @@ void DynamicRibbonWidget::updateItemDisplay()
|
||||
// ---- to determine which items go in which cell of the dynamic ribbon now,
|
||||
// we create a temporary 2D table and fill them with the ID of the item
|
||||
// they need to display.
|
||||
int item_placement[row_amount][m_needed_cols];
|
||||
//int item_placement[row_amount][m_needed_cols];
|
||||
std::vector<std::vector<int> > item_placement;
|
||||
item_placement.resize(row_amount);
|
||||
for(int i=0; i<row_amount; i++)
|
||||
item_placement[i].resize(m_needed_cols);
|
||||
|
||||
int counter = 0;
|
||||
for (int c=0; c<m_needed_cols; c++)
|
||||
{
|
||||
|
Loading…
x
Reference in New Issue
Block a user