From b4c297da2e841df13d1edc19cd5b71a219f2820b Mon Sep 17 00:00:00 2001 From: Christoph Oelckers Date: Fri, 11 Sep 2020 19:58:16 +0200 Subject: [PATCH] - Blood: select inventory item when using it. Fixes #310 --- source/blood/src/player.cpp | 2 ++ 1 file changed, 2 insertions(+) diff --git a/source/blood/src/player.cpp b/source/blood/src/player.cpp index 3b2fb582b..bee04f7fc 100644 --- a/source/blood/src/player.cpp +++ b/source/blood/src/player.cpp @@ -502,6 +502,8 @@ void packUseItem(PLAYER *pPlayer, int nPack) int nPowerUp = -1; if (pPlayer->packSlots[nPack].curAmount > 0) { + pPlayer->packItemId = nPack; + switch (nPack) { case 0: