mirror of
https://git.do.srb2.org/KartKrew/Kart-Public.git
synced 2024-11-10 15:22:20 +00:00
Appease C91
This commit is contained in:
parent
733aefa64a
commit
6d0b1e93c6
1 changed files with 4 additions and 3 deletions
|
@ -3872,12 +3872,13 @@ void K_DropItems(player_t *player)
|
||||||
|
|
||||||
void K_DropRocketSneaker(player_t *player)
|
void K_DropRocketSneaker(player_t *player)
|
||||||
{
|
{
|
||||||
if (!(player->mo && !P_MobjWasRemoved(player->mo) && player->mo->hnext && !P_MobjWasRemoved(player->mo->hnext)))
|
|
||||||
return;
|
|
||||||
|
|
||||||
mobj_t *shoe = player->mo;
|
mobj_t *shoe = player->mo;
|
||||||
fixed_t flingangle;
|
fixed_t flingangle;
|
||||||
boolean leftshoe = true; //left shoe is first
|
boolean leftshoe = true; //left shoe is first
|
||||||
|
|
||||||
|
if (!(player->mo && !P_MobjWasRemoved(player->mo) && player->mo->hnext && !P_MobjWasRemoved(player->mo->hnext)))
|
||||||
|
return;
|
||||||
|
|
||||||
while ((shoe = shoe->hnext) && !P_MobjWasRemoved(shoe))
|
while ((shoe = shoe->hnext) && !P_MobjWasRemoved(shoe))
|
||||||
{
|
{
|
||||||
if (shoe->type != MT_ROCKETSNEAKER)
|
if (shoe->type != MT_ROCKETSNEAKER)
|
||||||
|
|
Loading…
Reference in a new issue