Browse Source

Make GetItemStr bin exact.

Inverted if like a boss.
pull/109/head
Sergey Semushin 7 years ago committed by Anders Jenbo
parent
commit
c917609784
  1. 6
      Source/items.cpp

6
Source/items.cpp

@ -2467,10 +2467,10 @@ void GetItemStr(int i)
int nGold;
if (item[i]._itype != ITYPE_GOLD) {
if (!item[i]._iIdentified)
strcpy(infostr, item[i]._iName);
else
if (item[i]._iIdentified)
strcpy(infostr, item[i]._iIName);
else
strcpy(infostr, item[i]._iName);
if (item[i]._iMagical == ITEM_QUALITY_MAGIC)
infoclr = COL_BLUE;

Loading…
Cancel
Save