Fix in asciimapsource
This commit is contained in:
parent
931acf3293
commit
d5c199f3b9
4 changed files with 13 additions and 91 deletions
|
@ -60,7 +60,7 @@ namespace dkh {
|
|||
//Only look at the front. Besides a bug in spirit makes the other counts
|
||||
//invalid, see
|
||||
//http://boost.2283326.n4.nabble.com/Possible-bug-in-line-pos-iterator-td4636592.html
|
||||
m_width = grammar.lengths.front();
|
||||
m_height = m_wholedata.size() / m_width;
|
||||
m_mapSize.x() = grammar.lengths.front();
|
||||
m_mapSize.y() = m_wholedata.size() / m_mapSize.x();
|
||||
}
|
||||
} //namespace dk
|
||||
} //namespace dkh
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue