- removed all remaining native components of the weapon class.
This commit is contained in:
parent
70d3c31551
commit
d6b781312c
25 changed files with 130 additions and 253 deletions
|
|
@ -362,9 +362,9 @@ void DBot::WhatToGet (AActor *item)
|
|||
if (item->IsKindOf(NAME_Weapon))
|
||||
{
|
||||
// FIXME
|
||||
AWeapon *heldWeapon;
|
||||
AInventory *heldWeapon;
|
||||
|
||||
heldWeapon = dyn_cast<AWeapon>(player->mo->FindInventory(item->GetClass()));
|
||||
heldWeapon = player->mo->FindInventory(item->GetClass());
|
||||
if (heldWeapon != NULL)
|
||||
{
|
||||
if (!weapgiveammo)
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue