From a7cde2fd964e5baee0a756916ace2658ce0e1723 Mon Sep 17 00:00:00 2001 From: Christoph Oelckers Date: Mon, 1 Nov 2021 08:35:39 +0100 Subject: [PATCH] - SpriteP in inv.cpp. --- source/games/sw/src/inv.cpp | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/source/games/sw/src/inv.cpp b/source/games/sw/src/inv.cpp index 6d3552249..ec4fed4b6 100644 --- a/source/games/sw/src/inv.cpp +++ b/source/games/sw/src/inv.cpp @@ -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;