Removed more literal references to AInventory.
This commit is contained in:
parent
3d28006eda
commit
cd563cc4db
29 changed files with 80 additions and 93 deletions
|
|
@ -1282,7 +1282,7 @@ void G_StartTravel ()
|
|||
if (playeringame[i])
|
||||
{
|
||||
AActor *pawn = players[i].mo;
|
||||
AInventory *inv;
|
||||
AActor *inv;
|
||||
players[i].camera = NULL;
|
||||
|
||||
// Only living players travel. Dead ones get a new body on the new level.
|
||||
|
|
@ -1321,7 +1321,7 @@ int G_FinishTravel ()
|
|||
{
|
||||
TThinkerIterator<APlayerPawn> it (STAT_TRAVELLING);
|
||||
APlayerPawn *pawn, *pawndup, *oldpawn, *next;
|
||||
AInventory *inv;
|
||||
AActor *inv;
|
||||
FPlayerStart *start;
|
||||
int pnum;
|
||||
int failnum = 0;
|
||||
|
|
@ -1409,7 +1409,7 @@ int G_FinishTravel ()
|
|||
inv->ChangeStatNum (STAT_INVENTORY);
|
||||
inv->LinkToWorld (nullptr);
|
||||
|
||||
IFVIRTUALPTR(inv, AInventory, Travelled)
|
||||
IFVIRTUALPTRNAME(inv, NAME_Inventory, Travelled)
|
||||
{
|
||||
VMValue params[1] = { inv };
|
||||
VMCall(func, params, 1, nullptr, 0);
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue