- Allow subclasses when checking for PowerWeaponLevel2.
SVN r3314 (trunk)
This commit is contained in:
parent
66f86add05
commit
f00f5d2304
6 changed files with 7 additions and 6 deletions
|
|
@ -155,7 +155,7 @@ void P_BringUpWeapon (player_t *player)
|
|||
if (weapon != NULL &&
|
||||
weapon->SisterWeapon &&
|
||||
weapon->SisterWeapon->WeaponFlags & WIF_POWERED_UP &&
|
||||
player->mo->FindInventory (RUNTIME_CLASS(APowerWeaponLevel2)))
|
||||
player->mo->FindInventory (RUNTIME_CLASS(APowerWeaponLevel2), true))
|
||||
{
|
||||
weapon = weapon->SisterWeapon;
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue