- Fixed: Using printinv before starting a game crashed.
- Fixed: DMover::MovePlane() would not stop moving the plane when it exactly reached its target height unless it was a floor moving down. - Fixed: Actors that can't attack should not be valid haters for Thing_Hate. - Fixed: AArtiBlastRadius::BlastActor() should not set MF2_SLIDE for missiles. - Fixed: sdl/i_input.cpp should check !iscntrl() before generating EV_GUI_Char messages. SVN r36 (trunk)
This commit is contained in:
parent
735e6d72c4
commit
b00360a08c
7 changed files with 114 additions and 88 deletions
|
|
@ -1153,6 +1153,10 @@ CCMD (printinv)
|
|||
{
|
||||
AInventory *item;
|
||||
|
||||
if (players[consoleplayer].mo == NULL)
|
||||
{
|
||||
return;
|
||||
}
|
||||
for (item = players[consoleplayer].mo->Inventory; item != NULL; item = item->Inventory)
|
||||
{
|
||||
Printf ("%s #%lu (%d/%d)\n", item->GetClass()->Name+1, item->InventoryID, item->Amount, item->MaxAmount);
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue