mirror of
https://github.com/DrBeef/JKXR.git
synced 2024-11-21 19:51:33 +00:00
make saber throw in JKA work the same as JKO
This commit is contained in:
parent
4ada169242
commit
0e3c88fb1c
1 changed files with 2 additions and 1 deletions
|
@ -6482,7 +6482,8 @@ void WP_RunSaber( gentity_t *self, gentity_t *saber )
|
||||||
fwdangles[0] -= 5;
|
fwdangles[0] -= 5;
|
||||||
}
|
}
|
||||||
|
|
||||||
if ( self->client->ps.forcePowerLevel[FP_SABERTHROW] > FORCE_LEVEL_1
|
//For now make FORCE_LEVEL_1 saber throw do the same as FORCE_LEVEL_2, otherwise it is impossible to use
|
||||||
|
if ( self->client->ps.forcePowerLevel[FP_SABERTHROW] >= FORCE_LEVEL_1
|
||||||
|| self->client->ps.saberEntityState == SES_RETURNING
|
|| self->client->ps.saberEntityState == SES_RETURNING
|
||||||
|| VectorCompare( saber->s.pos.trDelta, vec3_origin ) )
|
|| VectorCompare( saber->s.pos.trDelta, vec3_origin ) )
|
||||||
{//control if it's returning or just starting
|
{//control if it's returning or just starting
|
||||||
|
|
Loading…
Reference in a new issue