mirror of
https://github.com/diasurgical/devilution.git
synced 2026-06-20 05:46:12 +00:00
minor cleanup
This commit is contained in:
+1
-1
@@ -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;
|
||||
|
||||
Reference in New Issue
Block a user