mirror of
https://git.do.srb2.org/STJr/SRB2.git
synced 2025-04-10 20:16:14 +00:00
Counter fix
This commit is contained in:
parent
02aed5b019
commit
52e451aad5
1 changed files with 2 additions and 1 deletions
|
@ -6003,9 +6003,10 @@ static void P_DoNiGHTSCapsule(player_t *player)
|
|||
player->capsule->lastlook = max(FixedRound(FixedDiv(spherecount, popduration))/FRACUNIT, 1);
|
||||
player->capsule->cusval = max(FixedFloor(FixedDiv(popduration, spherecount))/FRACUNIT, 1);
|
||||
player->capsule->movecount = player->capsule->extravalue2;
|
||||
player->capsule->cvmem = popduration;
|
||||
}
|
||||
|
||||
if (player->capsule->extravalue2 - player->capsule->movecount < 60)
|
||||
if (player->capsule->extravalue2 - player->capsule->movecount < player->capsule->cvmem)
|
||||
{
|
||||
if (!((player->capsule->extravalue2 - player->capsule->movecount) % player->capsule->cusval)
|
||||
&& player->capsule->health > player->capsule->extravalue1)
|
||||
|
|
Loading…
Reference in a new issue