SVN r524 (trunk)

This commit is contained in:
Christoph Oelckers 2007-04-30 09:04:43 +00:00
parent 6fad457592
commit 5cd1922d26
2 changed files with 2 additions and 2 deletions

View file

@ -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

View file

@ -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);
}