mirror of
https://github.com/nzp-team/quakec.git
synced 2025-02-01 14:11:05 +00:00
SERVER: Fix M1 Garand Spam Ping
This commit is contained in:
parent
0d4e532158
commit
efc577410e
1 changed files with 1 additions and 2 deletions
|
@ -530,7 +530,6 @@ void(float side) W_Reload =
|
|||
}
|
||||
// Check for special reload type
|
||||
else if (GetFrame(self.weapon, RELOAD_EMPTY_START) != 0) {
|
||||
//reloadcancelframe = GetFrame(self.weapon, RELOAD_CANCEL);
|
||||
if (self.currentmag > 0) {
|
||||
startframe = GetFrame(self.weapon, RELOAD_PART_START);
|
||||
endframe = GetFrame(self.weapon, RELOAD_PART_END);
|
||||
|
@ -1367,7 +1366,7 @@ void(float side) W_Fire =
|
|||
if (side == S_RIGHT &&
|
||||
(time < self.fire_delay ||
|
||||
self.new_anim_stop ||
|
||||
self.reload_delay > time || (!self.currentammo && !self.currentmag))) {
|
||||
self.reload_delay > time || !self.currentmag)) {
|
||||
return;
|
||||
}
|
||||
|
||||
|
|
Loading…
Reference in a new issue