mirror of
https://github.com/KartKrewDev/RingRacers.git
synced 2025-10-30 08:01:28 +00:00
Counter fix
This commit is contained in:
parent
79ebbdc360
commit
513a0a54ec
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…
Add table
Reference in a new issue