Removed all remaining references to AInventory

What remains is the class definition and one single reference that will be scriptified.
This commit is contained in:
Christoph Oelckers 2018-12-04 17:11:36 +01:00
commit 9348baeeb1
27 changed files with 74 additions and 89 deletions

View file

@ -2254,7 +2254,7 @@ void Net_DoCommand (int type, uint8_t **stream, int player)
while (item != nullptr)
{
AActor *next = item->Inventory;
IFVIRTUALPTR(item, AInventory, UseAll)
IFVIRTUALPTRNAME(item, NAME_Inventory, UseAll)
{
VMValue param[] = { item, players[player].mo };
VMCall(func, param, 2, nullptr, 0);