mirror of
https://git.do.srb2.org/STJr/SRB2.git
synced 2025-01-31 21:50:48 +00:00
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:
parent
ae0b7c9be8
commit
45612f9add
1 changed files with 4 additions and 2 deletions
|
@ -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;
|
||||
}
|
||||
|
||||
//
|
||||
|
|
Loading…
Reference in a new issue