mirror of
https://github.com/nzp-team/quakec.git
synced 2024-11-22 20:01:34 +00:00
SERVER: Tone down punchangle when repairing barricade
This commit is contained in:
parent
bee0e764fc
commit
5e90a866e2
1 changed files with 2 additions and 2 deletions
|
@ -46,9 +46,9 @@ void() screen_shake =
|
|||
r = crandom();
|
||||
s = random();
|
||||
if (self.enemy.zoom == 2 || self.enemy.zoom == 1)
|
||||
zoom_factor = 0.5;
|
||||
zoom_factor = 0.25;
|
||||
else
|
||||
zoom_factor = 1;
|
||||
zoom_factor = 0.5;
|
||||
|
||||
self.enemy.punchangle_y = r * 4 * zoom_factor;
|
||||
self.enemy.punchangle_x = (4 + (s * 2)) * zoom_factor;
|
||||
|
|
Loading…
Reference in a new issue