mirror of https://github.com/nzp-team/quakec.git
Server: Solve Bowie purchase logic
This commit is contained in:
parent
6b33819c7b
commit
f25b8dbe19
|
@ -377,6 +377,11 @@ void () buy_weapon_touch =
|
|||
useprint(other, 3, self.cost2, self.weapon);
|
||||
if (other.button7)
|
||||
{
|
||||
if (other.points < self.cost2) {
|
||||
centerprint(other, STR_NOTENOUGHPOINTS);
|
||||
return;
|
||||
} else {
|
||||
addmoney(other, -self.cost2, FALSE);
|
||||
other.ach_tracker_coll++;
|
||||
entity tempz;
|
||||
tempz = self;
|
||||
|
@ -386,6 +391,7 @@ void () buy_weapon_touch =
|
|||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
else
|
||||
{
|
||||
entity tempe;
|
||||
|
|
Loading…
Reference in New Issue