From d3fd97705f51fa43743708b206ab8e74ab7b85bf Mon Sep 17 00:00:00 2001 From: pionere Date: Tue, 29 Sep 2020 12:35:18 +0200 Subject: [PATCH] invitem --- Source/inv.cpp | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/Source/inv.cpp b/Source/inv.cpp index da860ab37..34a669fba 100644 --- a/Source/inv.cpp +++ b/Source/inv.cpp @@ -2000,7 +2000,7 @@ char CheckInvHLight() if (r == 0) return -1; ii = r - 1; - rv = ii + 7; + rv = ii + INVITEM_INV_FIRST; pi = &p->InvList[ii]; } else if (r >= SLOTXY_BELT_FIRST) { r -= SLOTXY_BELT_FIRST; @@ -2008,7 +2008,7 @@ char CheckInvHLight() pi = &p->SpdList[r]; if (pi->_itype == ITYPE_NONE) return -1; - rv = r + 47; + rv = r + INVITEM_BELT_FIRST; } if (pi->_itype == ITYPE_NONE)