mirror of
https://github.com/ZDoom/Raze.git
synced 2025-02-20 18:42:26 +00:00
- SpriteP in inv.cpp.
This commit is contained in:
parent
babdae682f
commit
a7cde2fd96
1 changed files with 2 additions and 2 deletions
|
@ -285,7 +285,7 @@ void UseInventoryRepairKit(PLAYERp pp)
|
|||
|
||||
void UseInventoryCloak(PLAYERp pp)
|
||||
{
|
||||
SPRITEp sp = pp->SpriteP;
|
||||
SPRITEp sp = &pp->Actor()->s();
|
||||
|
||||
if (pp->InventoryActive[pp->InventoryNum])
|
||||
{
|
||||
|
@ -311,7 +311,7 @@ void UseInventoryCloak(PLAYERp pp)
|
|||
|
||||
void StopInventoryCloak(PLAYERp pp, short InventoryNum)
|
||||
{
|
||||
SPRITEp sp = pp->SpriteP;
|
||||
SPRITEp sp = &pp->Actor()->s();
|
||||
|
||||
pp->InventoryActive[InventoryNum] = false;
|
||||
|
||||
|
|
Loading…
Reference in a new issue