Removed more literal references to AInventory.
This commit is contained in:
parent
3d28006eda
commit
cd563cc4db
29 changed files with 80 additions and 93 deletions
|
|
@ -216,7 +216,7 @@ FString savename;
|
|||
FString BackupSaveName;
|
||||
|
||||
bool SendLand;
|
||||
const AInventory *SendItemUse, *SendItemDrop;
|
||||
const AActor *SendItemUse, *SendItemDrop;
|
||||
int SendItemDropAmount;
|
||||
|
||||
EXTERN_CVAR (Int, team)
|
||||
|
|
@ -414,7 +414,7 @@ CCMD(invprev)
|
|||
|
||||
CCMD (invuseall)
|
||||
{
|
||||
SendItemUse = (const AInventory *)1;
|
||||
SendItemUse = (const AActor *)1;
|
||||
}
|
||||
|
||||
CCMD (invuse)
|
||||
|
|
@ -428,7 +428,7 @@ CCMD (invuse)
|
|||
|
||||
CCMD(invquery)
|
||||
{
|
||||
AInventory *inv = players[consoleplayer].mo->InvSel;
|
||||
AActor *inv = players[consoleplayer].mo->InvSel;
|
||||
if (inv != NULL)
|
||||
{
|
||||
Printf(PRINT_HIGH, "%s (%dx)\n", inv->GetTag(), inv->IntVar(NAME_Amount));
|
||||
|
|
@ -735,7 +735,7 @@ void G_BuildTiccmd (ticcmd_t *cmd)
|
|||
Net_WriteString (savedescription);
|
||||
savegamefile = "";
|
||||
}
|
||||
if (SendItemUse == (const AInventory *)1)
|
||||
if (SendItemUse == (const AActor *)1)
|
||||
{
|
||||
Net_WriteByte (DEM_INVUSEALL);
|
||||
SendItemUse = NULL;
|
||||
|
|
@ -2898,4 +2898,4 @@ DEFINE_GLOBAL(gametic)
|
|||
DEFINE_GLOBAL(demoplayback)
|
||||
DEFINE_GLOBAL(automapactive);
|
||||
DEFINE_GLOBAL(Net_Arbitrator);
|
||||
DEFINE_GLOBAL(netgame);
|
||||
DEFINE_GLOBAL(netgame);
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue