Appease C91

This commit is contained in:
Ashnal 2020-07-23 21:05:00 -04:00
parent 733aefa64a
commit 6d0b1e93c6

View file

@ -3872,12 +3872,13 @@ void K_DropItems(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;
fixed_t flingangle;
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))
{
if (shoe->type != MT_ROCKETSNEAKER)