mirror of
https://github.com/nzp-team/quakec.git
synced 2024-11-25 05:11:05 +00:00
SERVER: Allow moving while in Last Stand
This commit is contained in:
parent
b4a2ce2ac5
commit
847556d5f1
2 changed files with 4 additions and 2 deletions
|
@ -218,7 +218,6 @@ void() GetDown =
|
|||
self.velocity = self.zoom = 0;
|
||||
self.downed = true;
|
||||
self.dive_delay = 0;
|
||||
self.movetype = MOVETYPE_NONE;
|
||||
|
||||
float players_still_alive = PollPlayersAlive();
|
||||
|
||||
|
@ -389,7 +388,6 @@ void () GetUp =
|
|||
addmoney(self, self.requirespower, false);
|
||||
}
|
||||
|
||||
self.movetype = MOVETYPE_WALK;
|
||||
Weapon_AssignWeapon(0, self.weaponbk, self.currentmagbk, self.currentammobk);
|
||||
};
|
||||
|
||||
|
|
|
@ -1904,6 +1904,8 @@ void() CheckPlayer =
|
|||
// Broadcast that they're being revived
|
||||
BroadcastMessageToClient(ent, time + 2, 3, self.netname);
|
||||
|
||||
ent.speed_penalty = 0.01;
|
||||
ent.speed_penalty_time = time + 100;
|
||||
ent.beingrevived = true;
|
||||
ent.firer = self;
|
||||
|
||||
|
@ -1927,6 +1929,7 @@ void() CheckPlayer =
|
|||
W_TakeOut();
|
||||
ent.invoke_revive = 1;
|
||||
ent.beingrevived = false;
|
||||
ent.speed_penalty_time = 0;
|
||||
self.reviving = 0;
|
||||
self.progress_bar = 0;
|
||||
self.progress_bar_time = 0;
|
||||
|
@ -1942,6 +1945,7 @@ void() CheckPlayer =
|
|||
DisableReviveIcon(ent.electro_targeted);
|
||||
self.movetype = MOVETYPE_WALK;
|
||||
ent.beingrevived = false;
|
||||
ent.speed_penalty_time = 0;
|
||||
ent.firer = world;
|
||||
W_TakeOut();
|
||||
self.progress_bar = 0;
|
||||
|
|
Loading…
Reference in a new issue