small fix

This commit is contained in:
Ahmed Samy 2013-11-12 20:02:24 +02:00
parent ff5c22d4c0
commit f04b4a0b42
1 changed files with 1 additions and 1 deletions

View File

@ -40,7 +40,7 @@ House::House(uint32 hId, const std::string &name, const Position &pos)
void House::setTile(const TilePtr& tile)
{
tile->setFlags(TILESTATE_HOUSE);
tile->setFlag(TILESTATE_HOUSE);
m_tiles.insert(std::make_pair(tile->getPosition(), tile));
}