mirror of
https://github.com/neoStudiosLCE/neoLegacy.git
synced 2026-07-09 10:47:03 +00:00
Merge remote-tracking branch 'origin/main' into feat/minigames
This commit is contained in:
commit
306420e1f0
|
|
@ -916,7 +916,7 @@ void IUIScene_CraftingMenu::UpdateHighlight()
|
|||
|
||||
// special case for the torch coal/charcoal
|
||||
int id=pTempItemInstAdditional->getDescriptionId();
|
||||
LPCWSTR itemstring;
|
||||
wstring itemstring;
|
||||
|
||||
switch(id)
|
||||
{
|
||||
|
|
@ -945,11 +945,15 @@ void IUIScene_CraftingMenu::UpdateHighlight()
|
|||
}
|
||||
break;
|
||||
default:
|
||||
itemstring=app.GetString(id );
|
||||
if (pTempItemInstAdditional->hasCustomHoverName()) {
|
||||
itemstring = pTempItemInstAdditional->getHoverName();
|
||||
} else {
|
||||
itemstring = app.GetString(id);
|
||||
}
|
||||
break;
|
||||
}
|
||||
|
||||
setItemText(itemstring);
|
||||
setItemText(itemstring.c_str());
|
||||
}
|
||||
else
|
||||
{
|
||||
|
|
|
|||
Loading…
Reference in a new issue