Recalc capsule timing when leaving the capsule during destruct sequence (somehow)

* Would be nice to have more sophisticated behavior, e.g., resume the old timing; or drop out the capsule entirely. But how often is this case really going to happen?
This commit is contained in:
mazmazz 2018-08-15 13:59:27 -04:00
parent ae0b7c9be8
commit 45612f9add

View file

@ -6147,8 +6147,10 @@ static void P_DoNiGHTSCapsule(player_t *player)
}
}
}
else
player->capsule->lastlook = -1;
else if (player->capsule->lastlook > -1)
// We somehow moved out of the capsule (OBJECTPLACE?)
// So recalculate all the timings
player->capsule->lastlook = player->capsule->extravalue2 = -1;
}
//