mapio: make sure we read the house tile flag

This commit is contained in:
Ahmed Samy
2013-10-12 11:38:30 +02:00
parent f47ea05abc
commit 63ce68b449
2 changed files with 3 additions and 1 deletions

View File

@@ -137,6 +137,8 @@ void Map::loadOtbm(const std::string& fileName)
if((_flags & TILESTATE_REFRESH) == TILESTATE_REFRESH)
flags |= TILESTATE_REFRESH;
if((_flags & TILESTATE_HOUSE) == TILESTATE_HOUSE)
flags |= TILESTATE_HOUSE;
break;
}
case OTBM_ATTR_ITEM: {