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
@@ -104,7 +104,7 @@ void GiveGoldCheat()
|
||||
int i, ni;
|
||||
|
||||
for (i = 0; i < NUM_INV_GRID_ELEM; i++) {
|
||||
if (!plr[myplr].InvGrid[i]) {
|
||||
if (plr[myplr].InvGrid[i] == 0) {
|
||||
ni = plr[myplr]._pNumInv++;
|
||||
SetPlrHandItem(&plr[myplr].InvList[ni], IDI_GOLD);
|
||||
GetPlrHandSeed(&plr[myplr].InvList[ni]);
|
||||
|
||||
Reference in New Issue
Block a user