mirror of
https://github.com/nzp-team/quakec.git
synced 2024-11-22 11:51:11 +00:00
SERVER: Fix Pack-A-Punch not showing weapon name
This commit is contained in:
parent
19f176ebd1
commit
f0e1a9c4f4
1 changed files with 8 additions and 1 deletions
|
@ -1243,7 +1243,14 @@ void touch_pap() {
|
|||
sound(other, 0, "sounds/misc/denybuy.wav", 1, 1);
|
||||
}
|
||||
} else if (self.papState == 2) {
|
||||
useprint (other, 7, 0, 0);
|
||||
|
||||
#ifndef FTE
|
||||
|
||||
other.Weapon_Name_Touch = GetWeaponName(EqualPapWeapon(self.weapon));
|
||||
|
||||
#endif // FTE
|
||||
|
||||
useprint (other, 7, 0, EqualPapWeapon(self.weapon));
|
||||
|
||||
if (other.button7) {
|
||||
// Back-up current weapon into second slot, it's getting replaced.
|
||||
|
|
Loading…
Reference in a new issue