Skip to content

Commit

Permalink
Use TRUE value for _iIdentified.
Browse files Browse the repository at this point in the history
  • Loading branch information
mewmew committed Jul 19, 2019
1 parent a6d948f commit 7441f29
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions Source/objects.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -3392,15 +3392,15 @@ void OperateShrine(int pnum, int i, int sType)
return;
for (j = 0; j < 7; j++) {
if (plr[pnum].InvBody[j]._iMagical && !plr[pnum].InvBody[j]._iIdentified)
plr[pnum].InvBody[j]._iIdentified = 1;
plr[pnum].InvBody[j]._iIdentified = TRUE;
}
for (j = 0; j < plr[pnum]._pNumInv; j++) {
if (plr[pnum].InvList[j]._iMagical && !plr[pnum].InvList[j]._iIdentified)
plr[pnum].InvList[j]._iIdentified = 1;
plr[pnum].InvList[j]._iIdentified = TRUE;
}
for (j = 0; j < 8; j++) {
if (plr[pnum].SpdList[j]._iMagical && !plr[pnum].SpdList[j]._iIdentified)
plr[pnum].SpdList[j]._iIdentified = 1; // belt items can't be magical?
plr[pnum].SpdList[j]._iIdentified = TRUE; // belt items can't be magical?
}
InitDiabloMsg(EMSG_SHRINE_GLIMMERING);
break;
Expand Down

0 comments on commit 7441f29

Please sign in to comment.