hud.cpp: fix wrong indent in drawItem
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