- fix that hover boots money cheat

- re-comment the ARMY_TEST define and friends.  don't want that on
  normally :)
This commit is contained in:
Adam Olsen 2001-10-02 09:06:20 +00:00
parent 05c05180dc
commit d2f77c5cca
2 changed files with 8 additions and 7 deletions

View file

@ -654,12 +654,13 @@ void(float cost, float item) BuyItem =
if (self.tf_items & item) //We are selling if (self.tf_items & item) //We are selling
{ {
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 &= ~NIT_HOVER_BOOTS_UPGRADE;
BuyItem (350, NIT_HOVER_BOOTS_UPGRADE); // sync with buying of upgrade
} }
PrintRefund(cost); PrintRefund(cost);
self.tf_items = self.tf_items - item; self.tf_items -= item;
return; return;
} }
//Special rules //Special rules

View file

@ -6,12 +6,12 @@
=========================================================*/ =========================================================*/
//#define VERBOSE_GRUNTY //#define VERBOSE_GRUNTY
#define WARLOCK_TEST // free summon //#define WARLOCK_TEST // free summon
#define ARMY_TEST // only 5 seconds for tele the soldier //#define ARMY_TEST // only 5 seconds for tele the soldier
//- attack owner? //- attack owner?
#define MAD_GRUNTY //for testing purposes //#define MAD_GRUNTY //for testing purposes
#define MAD_MONSTERS // for testing //#define MAD_MONSTERS // for testing
//#define MAD_TESLA // for testing //#define MAD_TESLA // for testing
//#define GRUNTY_EXTRA_WEAPONS WEAP_ROCKET_LAUNCHER | WEAP_SUPER_SHOTGUN // 0 //#define GRUNTY_EXTRA_WEAPONS WEAP_ROCKET_LAUNCHER | WEAP_SUPER_SHOTGUN // 0