mirror of
https://git.do.srb2.org/KartKrew/Kart-Public.git
synced 2024-12-27 04:41:23 +00:00
Ensures the force shield's movecount is correctly set before comparing
This commit is contained in:
parent
aafc0bcb0d
commit
d8234f408b
1 changed files with 1 additions and 0 deletions
|
@ -1404,6 +1404,7 @@ void P_SpawnShieldOrb(player_t *player)
|
||||||
if (player->powers[pw_shield] & SH_FORCE)
|
if (player->powers[pw_shield] & SH_FORCE)
|
||||||
{
|
{
|
||||||
//Copy and pasted from P_ShieldLook in p_mobj.c
|
//Copy and pasted from P_ShieldLook in p_mobj.c
|
||||||
|
shieldobj->movecount = (shieldobj->target->player->powers[pw_shield] & 0xFF);
|
||||||
if (shieldobj->movecount < 1)
|
if (shieldobj->movecount < 1)
|
||||||
{
|
{
|
||||||
if (shieldobj->info->painstate)
|
if (shieldobj->info->painstate)
|
||||||
|
|
Loading…
Reference in a new issue