- Added a simple check for abstract weapon classes so that I can properly define
the DoomWeapon base class. - Fixed: When the Tome of Power runs out it must also set any pending weapon back to their regular state. SVN r521 (trunk)
This commit is contained in:
parent
725c6d195e
commit
6e5b1f1182
5 changed files with 36 additions and 17 deletions
|
|
@ -486,7 +486,8 @@ void AWeapon::EndPowerup ()
|
|||
{
|
||||
if (GetReadyState() != SisterWeapon->GetReadyState())
|
||||
{
|
||||
Owner->player->PendingWeapon = SisterWeapon;
|
||||
if (Owner->player->PendingWeapon != NULL)
|
||||
Owner->player->PendingWeapon = SisterWeapon;
|
||||
}
|
||||
else
|
||||
{
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue