mirror of
https://github.com/DrBeef/JKXR.git
synced 2024-11-22 04:01:33 +00:00
Added missed saber blocking check
might explain why some people find JKA a bit easy if it is auto-blocking in 1st person
This commit is contained in:
parent
8b23e255d8
commit
d43de53e8a
1 changed files with 10 additions and 2 deletions
|
@ -7498,10 +7498,18 @@ void WP_SaberStartMissileBlockCheck( gentity_t *self, usercmd_t *ucmd )
|
|||
return;
|
||||
}
|
||||
|
||||
if ( !g_saberAutoBlocking->integer && self->client->ps.saberBlockingTime<level.time )
|
||||
{
|
||||
if (cg_thirdPerson.integer) {
|
||||
if (!self->s.number && !g_saberAutoBlocking->integer &&
|
||||
self->client->ps.saberBlockingTime < level.time) {
|
||||
return;
|
||||
}
|
||||
} else // first person
|
||||
{
|
||||
if (!self->s.number && !g_saberAutoDeflect1stPerson->integer &&
|
||||
self->client->ps.saberBlockingTime < level.time) {
|
||||
return;
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
if ( (self->client->ps.saber[0].saberFlags&SFL_NOT_ACTIVE_BLOCKING) )
|
||||
|
|
Loading…
Reference in a new issue