Removed more literal references to AInventory.
This commit is contained in:
parent
3d28006eda
commit
cd563cc4db
29 changed files with 80 additions and 93 deletions
|
|
@ -351,7 +351,7 @@ void FWeaponSlots::AddExtraWeapons()
|
|||
{
|
||||
continue;
|
||||
}
|
||||
auto weapdef = ((AInventory*)GetDefaultByType(cls));
|
||||
auto weapdef = GetDefaultByType(cls);
|
||||
|
||||
// Let the weapon decide for itself if it wants to get added to a slot.
|
||||
IFVIRTUALPTRNAME(weapdef, NAME_Weapon, CheckAddToSlots)
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue