From 070487fe909332e91f11ee80e793efe0eef27e4c Mon Sep 17 00:00:00 2001 From: Anders Jenbo Date: Tue, 9 Apr 2019 03:24:11 +0200 Subject: [PATCH] Update Source/stores.cpp Co-Authored-By: qndel --- Source/stores.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Source/stores.cpp b/Source/stores.cpp index 7bbf53a58..894d00525 100644 --- a/Source/stores.cpp +++ b/Source/stores.cpp @@ -3009,7 +3009,7 @@ void __cdecl S_WRechargeEnter() void __cdecl S_BoyEnter() { - if (boyitem._itype != -1 && stextsel == 18) { + if (boyitem._itype != ITYPE_NONE && stextsel == 18) { if (plr[myplr]._pGold < 50) { stextshold = 12; stextlhold = 18;