Browse Source

[hellfire] S_StartWSell bin exact

pull/876/head
qndel 6 years ago committed by Anders Jenbo
parent
commit
4ecc2090d9
  1. 8
      Source/stores.cpp

8
Source/stores.cpp

@ -957,6 +957,10 @@ void S_StartWSell()
storehold[i]._itype = ITYPE_NONE;
for (i = 0; i < plr[myplr]._pNumInv; i++) {
#ifdef HELLFIRE
if (storenumh >= 48)
break;
#endif
if (WitchSellOk(i)) {
sellok = TRUE;
storehold[storenumh] = plr[myplr].InvList[i];
@ -973,6 +977,10 @@ void S_StartWSell()
}
for (i = 0; i < MAXBELTITEMS; i++) {
#ifdef HELLFIRE
if (storenumh >= 48)
break;
#endif
if (plr[myplr].SpdList[i]._itype != ITYPE_NONE && WitchSellOk(-(i + 1))) {
sellok = TRUE;
storehold[storenumh] = plr[myplr].SpdList[i];

Loading…
Cancel
Save