- SpriteP in inv.cpp.

This commit is contained in:
Christoph Oelckers 2021-11-01 08:35:39 +01:00
parent babdae682f
commit a7cde2fd96

View file

@ -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;