mirror of
https://github.com/KartKrewDev/RingRacers.git
synced 2025-10-30 08:01:28 +00:00
Half screenshake in Battle
This commit is contained in:
parent
10f8bb5a3f
commit
cb11627bb5
1 changed files with 6 additions and 0 deletions
|
|
@ -50,6 +50,7 @@
|
|||
#include "acs/interface.h"
|
||||
#include "m_easing.h"
|
||||
#include "music.h"
|
||||
#include "k_battle.h" // battleprisons
|
||||
|
||||
// Not sure if this is necessary, but it was in w_wad.c, so I'm putting it here too -Shadow Hog
|
||||
#include <errno.h>
|
||||
|
|
@ -9517,6 +9518,11 @@ void P_DoQuakeOffset(UINT8 view, mappoint_t *viewPos, mappoint_t *offset)
|
|||
addZ = -addZ;
|
||||
}
|
||||
|
||||
if ((gametyperules & GTR_PRISONS) && !battleprisons)
|
||||
{
|
||||
addZ /= 2;
|
||||
}
|
||||
|
||||
if (cv_screenshake.value == 1) // Half
|
||||
{
|
||||
addZ /= 2;
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue