From d8a0211da864a9195311f01af19797652e3a5814 Mon Sep 17 00:00:00 2001 From: qndel Date: Mon, 23 Aug 2021 23:00:56 +0200 Subject: [PATCH] Remove redundant condition --- Source/items.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Source/items.cpp b/Source/items.cpp index 1627f8b74..000436cad 100644 --- a/Source/items.cpp +++ b/Source/items.cpp @@ -3013,7 +3013,7 @@ void CalcPlrInv(int playerId, bool loadgfx) CalcPlrBookVals(player); player.CalcScrolls(); CalcPlrStaff(player); - if (playerId == MyPlayerId && currlevel == 0) + if (currlevel == 0) RecalcStoreStats(); } }