mirror of
https://github.com/minetest/minetest.git
synced 2024-11-27 18:13:46 +01:00
hud.cpp: fix wrong indent in drawItem
This commit is contained in:
parent
4dcc5985df
commit
53acc32bee
@ -191,7 +191,7 @@ void Hud::drawItem(const ItemStack &item, const core::rect<s32>& rect,
|
|||||||
driver->draw2DRectangle(bgcolor2, rect, NULL);
|
driver->draw2DRectangle(bgcolor2, rect, NULL);
|
||||||
drawItemStack(driver, g_fontengine->getFont(), item, rect, NULL,
|
drawItemStack(driver, g_fontengine->getFont(), item, rect, NULL,
|
||||||
client, selected ? IT_ROT_SELECTED : IT_ROT_NONE);
|
client, selected ? IT_ROT_SELECTED : IT_ROT_NONE);
|
||||||
}
|
}
|
||||||
|
|
||||||
//NOTE: selectitem = 0 -> no selected; selectitem 1-based
|
//NOTE: selectitem = 0 -> no selected; selectitem 1-based
|
||||||
void Hud::drawItems(v2s32 upperleftpos, v2s32 screen_offset, s32 itemcount,
|
void Hud::drawItems(v2s32 upperleftpos, v2s32 screen_offset, s32 itemcount,
|
||||||
|
Loading…
Reference in New Issue
Block a user