mirror of
https://git.code.sf.net/p/quake/prozac-qfcc
synced 2025-02-12 15:15:36 +00:00
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:
parent
a9cf39a1cc
commit
8eff682b52
1 changed files with 1 additions and 1 deletions
|
@ -662,7 +662,7 @@ void(float cost, float item) BuyItem =
|
||||||
{
|
{
|
||||||
if (item == NIT_HOVER_BOOTS && self.tf_items & NIT_HOVER_BOOTS_UPGRADE) {
|
if (item == NIT_HOVER_BOOTS && self.tf_items & NIT_HOVER_BOOTS_UPGRADE) {
|
||||||
self.money = self.money + 350; //sync with buying of 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);
|
PrintRefund(cost);
|
||||||
|
|
Loading…
Reference in a new issue