mirror of
https://github.com/nzp-team/quakec.git
synced 2024-11-22 11:51:11 +00:00
SERVER: Fix Aim Down Sights after Pack-A-Punching
This commit is contained in:
parent
56567d7e30
commit
c659a649f9
1 changed files with 3 additions and 2 deletions
|
@ -1136,7 +1136,7 @@ void PapSendOut() {
|
|||
self.nextthink = time + 15;
|
||||
self.think = reset_pap;
|
||||
}
|
||||
|
||||
void() W_PlayTakeOut;
|
||||
void PapUpgrade(entity pap, entity buyer) {
|
||||
entity tempe;
|
||||
string modelname;
|
||||
|
@ -1196,7 +1196,8 @@ void PapUpgrade(entity pap, entity buyer) {
|
|||
|
||||
self.isBuying = true;
|
||||
|
||||
Set_W_Frame (0, 39, 2.0, 0, 0, W_TakeOut, "models/machines/v_pap.mdl", true, S_BOTH);
|
||||
SwitchWeapon(self.weapon);
|
||||
Set_W_Frame (0, 39, 2.0, 0, 0, W_PlayTakeOut, "models/machines/v_pap.mdl", true, S_BOTH);
|
||||
self.weapon2model = "";
|
||||
UpdateV2model(self.weapon2model, 0);
|
||||
|
||||
|
|
Loading…
Reference in a new issue