minor cleanup

This commit is contained in:
qndel 2020-11-12 14:15:34 +01:00 committed by Anders Jenbo
commit 73dce4fa39
4 changed files with 7 additions and 7 deletions

View file

@ -3950,7 +3950,7 @@ void OperateShrine(int pnum, int i, int sType)
if (pnum != myplr)
return;
for (j = 0; j < NUM_INV_GRID_ELEM; j++) {
if (!plr[pnum].InvGrid[j]) {
if (plr[pnum].InvGrid[j] == 0) {
r = 5 * leveltype + random_(160, 10 * leveltype);
t = plr[pnum]._pNumInv; // check
plr[pnum].InvList[t] = golditem;