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.
This commit is contained in:
Adam Olsen 2001-08-10 10:06:35 +00:00
parent a9cf39a1cc
commit 8eff682b52
1 changed files with 1 additions and 1 deletions

View File

@ -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);