From 8eff682b52ae0787c590d3f858360f44c5a89411 Mon Sep 17 00:00:00 2001 From: Adam Olsen Date: Fri, 10 Aug 2001 10:06:35 +0000 Subject: [PATCH] One more of the same. Boy, doing foo = foo + bar is REALLY lame, when foo = foo & bar works just as well, but without rick of affecting other bits. --- custom.qc | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/custom.qc b/custom.qc index ac9b882..f74ac6b 100644 --- a/custom.qc +++ b/custom.qc @@ -662,7 +662,7 @@ void(float cost, float item) BuyItem = { if (item == NIT_HOVER_BOOTS && self.tf_items & NIT_HOVER_BOOTS_UPGRADE) { self.money = self.money + 350; //sync with buying of upgrade - item = item + NIT_HOVER_BOOTS_UPGRADE; + item = item & NIT_HOVER_BOOTS_UPGRADE; } PrintRefund(cost);