mirror of
https://github.com/luanti-org/luanti.git
synced 2025-06-27 16:36:03 +00:00
Modify mod and texture directory hierarchies
This commit is contained in:
parent
40e7a1a5c9
commit
e71744b918
111 changed files with 28 additions and 10 deletions
|
@ -256,9 +256,9 @@ void draw_hotbar(video::IVideoDriver *driver, gui::IGUIFont *font,
|
|||
/*
|
||||
Draw hearts
|
||||
*/
|
||||
video::ITexture *heart_texture = tsrc->getTextureRaw("heart.png");
|
||||
if(heart_texture)
|
||||
{
|
||||
video::ITexture *heart_texture =
|
||||
driver->getTexture(getTexturePath("heart.png").c_str());
|
||||
v2s32 p = pos + v2s32(0, -20);
|
||||
for(s32 i=0; i<halfheartcount/2; i++)
|
||||
{
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue