- scriptified a_strifeitems.cpp and a_debris.cpp.
- Changed the glass shards so that they do not have to override FloorBounceMissile. It was the only place where this was virtually overridden and provided little usefulness. - made 'out' variables work. - fixed virtual call handling for HandlePickup.
This commit is contained in:
parent
55b549c0c6
commit
3af9232fca
29 changed files with 374 additions and 528 deletions
|
|
@ -901,7 +901,7 @@ void APlayerPawn::RemoveInventory (AInventory *item)
|
|||
//
|
||||
//===========================================================================
|
||||
|
||||
bool APlayerPawn::DoUseInventory (AInventory *item)
|
||||
bool APlayerPawn::UseInventory (AInventory *item)
|
||||
{
|
||||
const PClass *itemtype = item->GetClass();
|
||||
|
||||
|
|
@ -915,7 +915,7 @@ bool APlayerPawn::DoUseInventory (AInventory *item)
|
|||
return false;
|
||||
}
|
||||
|
||||
if (!Super::DoUseInventory (item))
|
||||
if (!Super::UseInventory (item))
|
||||
{
|
||||
// Heretic and Hexen advance the inventory cursor if the use failed.
|
||||
// Should this behavior be retained?
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue