- started removing literal references of AInventory, so far only simple stuff.

This commit is contained in:
Christoph Oelckers 2018-12-04 00:41:39 +01:00
commit 3d28006eda
13 changed files with 48 additions and 50 deletions

View file

@ -2114,7 +2114,7 @@ DEFINE_ACTION_FUNCTION(AActor, A_DropInventory)
if (drop)
{
AInventory *inv = self->FindInventory(drop);
auto inv = self->FindInventory(drop);
if (inv)
{
self->DropInventory(inv, amount);