Mod texture
This commit is contained in:
+1
-1
@@ -154,7 +154,7 @@ void loadMap( std::shared_ptr< SDLPP::Scene > &scene,
|
||||
// TODO createModifierBlock with data
|
||||
auto mod = createTerrainBlock(
|
||||
block.getModifierId(), LandType::OVERWORLD, renderer, i, j,
|
||||
g_translucent_terrain_texture, false, editor );
|
||||
g_translucent_mod_texture, false, editor );
|
||||
mod->getCollisions()[0]->setId( EDITOR_TERRAIN_ID );
|
||||
dynamic_cast< MarioBlock * >( mod.get() )->setTerrain( false );
|
||||
scene->addObject( mod );
|
||||
|
||||
Reference in New Issue
Block a user