If I add a 256x256 tile, maybe I should remove it as 256x256, not 128x128...

--HG--
branch : gsoc2014-dfighter
This commit is contained in:
dfighter1985 2014-08-06 17:14:59 +02:00
parent 9bb62a3ada
commit 20edb57761

View file

@ -329,7 +329,7 @@ bool TileBank::addTile( int setIdx, const QString &name, const QVariant &pixmap,
switch( type ) switch( type )
{ {
case TileConstants::Tile128: set->removeTile128( tile, m_pvt->m_bank ); break; case TileConstants::Tile128: set->removeTile128( tile, m_pvt->m_bank ); break;
case TileConstants::Tile256: set->removeTile128( tile, m_pvt->m_bank ); break; case TileConstants::Tile256: set->removeTile256( tile, m_pvt->m_bank ); break;
} }
return false; return false;