Save and load the veget set filename.
This commit is contained in:
parent
e82ffc9b14
commit
447caab681
2 changed files with 4 additions and 0 deletions
|
@ -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…
Reference in a new issue