Commit 134a8647 authored by Frederik Schwarzer's avatar Frederik Schwarzer

Remove list altogether, since it's unused.

parent bb1f3f6b
......@@ -73,7 +73,6 @@ Board::Board(QWidget * parent)
, m_solvableFlag(false)
, m_chineseStyleFlag(false)
, m_tilesCanSlideFlag(false)
, m_gravCols()
, m_highlightedTile(-1)
, m_paintConnection(false)
, m_paintPossibleMoves(false)
......@@ -220,7 +219,6 @@ int Board::field(TilePos const & tilePos) const
void Board::gravity(bool update)
{
m_gravCols.clear();
if (!m_gravityFlag) {
return;
}
......@@ -228,7 +226,6 @@ void Board::gravity(bool update)
for (int i = 0; i < xTiles(); ++i) {
if (gravity(i, update)) {
fallingTiles = true;
m_gravCols.push_back(i);
}
}
if (Prefs::sounds() && fallingTiles) {
......
......@@ -317,7 +317,6 @@ private:
bool m_solvableFlag; ///< Whether game is solvable
bool m_chineseStyleFlag; ///< Whether game follows Chinese rules
bool m_tilesCanSlideFlag; ///< Whether tiles can slide when connecting
std::list<int> m_gravCols;
int m_highlightedTile;
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment