- SW: Remove duplicate if statement line.

This commit is contained in:
Mitchell Richters 2020-08-17 21:11:53 +10:00
parent d0ed88221d
commit 77825b4927

View file

@ -558,8 +558,6 @@ private:
int InventoryYoff = 0; int InventoryYoff = 0;
// put pic // put pic
if (pp->InventoryAmount[pp->InventoryNum])
if (pp->InventoryAmount[pp->InventoryNum]) if (pp->InventoryAmount[pp->InventoryNum])
{ {
PlayerUpdateInventoryPic(pp, InventoryBoxX, InventoryBoxY, InventoryXoff, InventoryYoff); PlayerUpdateInventoryPic(pp, InventoryBoxX, InventoryBoxY, InventoryXoff, InventoryYoff);