mirror of
https://github.com/luanti-org/luanti.git
synced 2025-06-27 16:36:03 +00:00
a little backwards compatibility with coal
This commit is contained in:
parent
44ce9018dd
commit
6bb9de3cc6
3 changed files with 23 additions and 3 deletions
|
@ -96,9 +96,10 @@ void init_mapnode(IIrrlichtWrapper *irrlicht)
|
|||
|
||||
i = CONTENT_COALSTONE;
|
||||
f = &g_content_features[i];
|
||||
f->translate_to = new MapNode(CONTENT_STONE, MINERAL_COAL);
|
||||
/*f->setAllTextures(irrlicht->getTextureId("coalstone.png"));
|
||||
f->is_ground_content = true;*/
|
||||
//f->translate_to = new MapNode(CONTENT_STONE, MINERAL_COAL);
|
||||
f->setAllTextures(TextureSpec(irrlicht->getTextureId("coal.png"),
|
||||
irrlicht->getTextureId("mineral_coal.png")));
|
||||
f->is_ground_content = true;
|
||||
|
||||
i = CONTENT_WOOD;
|
||||
f = &g_content_features[i];
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue