Update DlgNPC.cs

This commit is contained in:
HungDK
2026-04-09 11:25:03 +07:00
parent 8972bccc01
commit d70bfe7e07
@@ -2079,7 +2079,7 @@ namespace BrewMonster.UI
for (j = 0; j < pTalk.windows[i].num_option; j++)
{
strText = GetStringFromTable(249);
strText += pTalk.windows[i].options[j].text;
strText += Encoding.Unicode.GetString(MemoryMarshal.AsBytes<ushort>(pTalk.windows[i].options[j].text));
m_pLst_Main.AddString(strText);
nIndex = m_pLst_Main.GetCount() - 1;
m_pLst_Main.SetItemData(nIndex, pTalk.windows[i].options[j].id);
@@ -2201,7 +2201,7 @@ namespace BrewMonster.UI
for (j = 0; j < pTalk.windows[i].num_option; j++)
{
strText = GetStringFromTable(249);
strText += pTalk.windows[i].options[j].text;
strText += Encoding.Unicode.GetString(MemoryMarshal.AsBytes<ushort>(pTalk.windows[i].options[j].text));
m_pLst_Main.AddString(strText);
nIndex = m_pLst_Main.GetCount() - 1;
m_pLst_Main.SetItemData(nIndex, pTalk.windows[i].options[j].id);