SVN r241 (trunk)

This commit is contained in:
Christoph Oelckers 2006-07-09 20:15:38 +00:00
commit dd3c0d82f7
5 changed files with 54 additions and 7 deletions

View file

@ -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)
{