Save and load the veget set filename.

--HG--
branch : gsoc2014-dfighter
hg/feature/cdb-packed
dfighter1985 10 years ago
parent 431178321f
commit 0f5e475d1c

@ -125,6 +125,8 @@ public:
loadTilesDisplacement( set, static_cast< TileTypeNode* >( node->child( 3 ) ) ); loadTilesDisplacement( set, static_cast< TileTypeNode* >( node->child( 3 ) ) );
node->setOriented( set->getOriented() ); node->setOriented( set->getOriented() );
node->setVegetSet( set->getTileVegetableDescFileName().c_str() );
} }
void loadTileSets( TileModel *model ) void loadTileSets( TileModel *model )

@ -189,6 +189,8 @@ public:
setupDisplacementTiles( set, n ); setupDisplacementTiles( set, n );
set->setOriented( n->isOriented() ); set->setOriented( n->isOriented() );
set->setTileVegetableDescFileName( n->vegetSet().toUtf8().constData() );
} }
// Add tilesets to lands // Add tilesets to lands

Loading…
Cancel
Save