diff --git a/custom.qc b/custom.qc index c8c2fea..955ce59 100644 --- a/custom.qc +++ b/custom.qc @@ -654,12 +654,13 @@ void(float cost, float item) BuyItem = if (self.tf_items & item) //We are selling { 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; +// self.money = self.money + 350; //sync with buying of upgrade +// item &= ~NIT_HOVER_BOOTS_UPGRADE; + BuyItem (350, NIT_HOVER_BOOTS_UPGRADE); // sync with buying of upgrade } PrintRefund(cost); - self.tf_items = self.tf_items - item; + self.tf_items -= item; return; } //Special rules diff --git a/ofndefs.qh b/ofndefs.qh index 33972f2..2ccc79e 100644 --- a/ofndefs.qh +++ b/ofndefs.qh @@ -6,12 +6,12 @@ =========================================================*/ //#define VERBOSE_GRUNTY -#define WARLOCK_TEST // free summon -#define ARMY_TEST // only 5 seconds for tele the soldier +//#define WARLOCK_TEST // free summon +//#define ARMY_TEST // only 5 seconds for tele the soldier //- attack owner? -#define MAD_GRUNTY //for testing purposes -#define MAD_MONSTERS // for testing +//#define MAD_GRUNTY //for testing purposes +//#define MAD_MONSTERS // for testing //#define MAD_TESLA // for testing //#define GRUNTY_EXTRA_WEAPONS WEAP_ROCKET_LAUNCHER | WEAP_SUPER_SHOTGUN // 0