From c917609784fd061eb1c6526190d2810858ba9dda Mon Sep 17 00:00:00 2001 From: Sergey Semushin Date: Mon, 6 May 2019 23:22:04 +0300 Subject: [PATCH] Make GetItemStr bin exact. Inverted if like a boss. --- Source/items.cpp | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/Source/items.cpp b/Source/items.cpp index a8a4ad6bd..35ee3b388 100644 --- a/Source/items.cpp +++ b/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;