Save and load the veget set filename.

--HG--
branch : gsoc2014-dfighter
This commit is contained in:
dfighter1985 2014-07-30 10:58:37 +02:00
parent 431178321f
commit 0f5e475d1c
2 changed files with 4 additions and 0 deletions

View file

@ -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 )

View file

@ -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