mirror of
https://github.com/DrBeef/JKXR.git
synced 2024-11-25 13:31:03 +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,9 +7498,17 @@ void WP_SaberStartMissileBlockCheck( gentity_t *self, usercmd_t *ucmd )
|
||||||
return;
|
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
|
||||||
{
|
{
|
||||||
return;
|
if (!self->s.number && !g_saberAutoDeflect1stPerson->integer &&
|
||||||
|
self->client->ps.saberBlockingTime < level.time) {
|
||||||
|
return;
|
||||||
|
}
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue