From efc4be344cbeb90f6f10a6fad9f2c62dd2ba0bc8 Mon Sep 17 00:00:00 2001 From: Anders Jenbo Date: Sun, 26 May 2019 19:10:31 +0200 Subject: [PATCH] Fix S_BBuyEnter --- Source/stores.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Source/stores.cpp b/Source/stores.cpp index 1e4397840..d5b7a2c3c 100644 --- a/Source/stores.cpp +++ b/Source/stores.cpp @@ -2378,7 +2378,7 @@ void S_BBuyEnter() stextlhold = 10; stextvhold = stextsval; stextshold = STORE_BBOY; - if (plr[myplr]._pGold >= boyitem._iIvalue + (boyitem._iIvalue >> 1)) { + if (plr[myplr]._pGold < boyitem._iIvalue + (boyitem._iIvalue >> 1)) { StartStore(STORE_NOMONEY); } else { plr[myplr].HoldItem = boyitem;