mirror of
https://git.code.sf.net/p/quake/prozac-qfcc
synced 2025-01-19 16:11:11 +00:00
- 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:
parent
05c05180dc
commit
d2f77c5cca
2 changed files with 8 additions and 7 deletions
|
@ -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
|
||||||
|
|
|
@ -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
|
||||||
|
|
Loading…
Reference in a new issue