mirror of
https://github.com/ZDoom/gzdoom.git
synced 2024-11-10 23:01:50 +00:00
SVN r524 (trunk)
This commit is contained in:
parent
6fad457592
commit
5cd1922d26
2 changed files with 2 additions and 2 deletions
|
@ -486,7 +486,7 @@ void AWeapon::EndPowerup ()
|
|||
{
|
||||
if (GetReadyState() != SisterWeapon->GetReadyState())
|
||||
{
|
||||
if (Owner->player->PendingWeapon != NULL)
|
||||
if (Owner->player->PendingWeapon == NULL)
|
||||
Owner->player->PendingWeapon = SisterWeapon;
|
||||
}
|
||||
else
|
||||
|
|
|
@ -2021,7 +2021,7 @@ void A_Respawn (AActor *actor)
|
|||
actor->renderflags &= ~RF_INVISIBLE;
|
||||
|
||||
int index=CheckIndex(1, NULL);
|
||||
if (index<0 || EvalExpressionN (StateParameters[index+2], actor))
|
||||
if (index<0 || EvalExpressionN (StateParameters[index], actor))
|
||||
{
|
||||
Spawn<ATeleportFog> (x, y, actor->z + TELEFOGHEIGHT, ALLOW_REPLACE);
|
||||
}
|
||||
|
|
Loading…
Reference in a new issue