SVN r241 (trunk)
This commit is contained in:
parent
d027aafb4c
commit
dd3c0d82f7
5 changed files with 54 additions and 7 deletions
|
|
@ -785,6 +785,8 @@ AInventory *AActor::FindInventory (const PClass *type) const
|
|||
{
|
||||
AInventory *item;
|
||||
|
||||
if (type == NULL) return NULL;
|
||||
|
||||
assert (type->ActorInfo != NULL);
|
||||
for (item = Inventory; item != NULL; item = item->Inventory)
|
||||
{
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue