Why did you add m_wall? The game.cpp code still uses the local variable wall