- 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
|
|
@ -2656,7 +2656,7 @@ FUNC(LS_SetPlayerProperty)
|
|||
{ // Take power from activator
|
||||
if (power != 4)
|
||||
{
|
||||
AInventory *item = it->FindInventory (powers[power]);
|
||||
AInventory *item = it->FindInventory (powers[power], true);
|
||||
if (item != NULL)
|
||||
{
|
||||
item->Destroy ();
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue