- added Spleen's fix for not running 2 frames of the weapon when the player spawns.
SVN r2783 (trunk)
This commit is contained in:
parent
4ca21e8e38
commit
a0d7693f33
3 changed files with 14 additions and 2 deletions
|
|
@ -1103,7 +1103,10 @@ void APlayerPawn::GiveDefaultInventory ()
|
|||
if (item != NULL && item->IsKindOf (RUNTIME_CLASS (AWeapon)) &&
|
||||
static_cast<AWeapon*>(item)->CheckAmmo(AWeapon::EitherFire, false))
|
||||
{
|
||||
player->ReadyWeapon = player->PendingWeapon = static_cast<AWeapon *> (item);
|
||||
// [Spleen] ReadyWeapon will be set when P_MovePsprites calls P_BringUpWeapon
|
||||
player->PendingWeapon = static_cast<AWeapon *> (item);
|
||||
player->ReadyWeapon = NULL;
|
||||
//player->ReadyWeapon = player->PendingWeapon = static_cast<AWeapon *> (item);
|
||||
}
|
||||
}
|
||||
di = di->Next;
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue