From 26fdd1fb2e37f9c48fb894ee094694af1372d908 Mon Sep 17 00:00:00 2001 From: staphen Date: Sun, 18 Apr 2021 10:55:53 -0400 Subject: [PATCH] Clean up unnecessary Mana Shield processing in CalcPlrItemVals(). --- Source/items.cpp | 8 -------- 1 file changed, 8 deletions(-) diff --git a/Source/items.cpp b/Source/items.cpp index 20b0764d4..9167789d3 100644 --- a/Source/items.cpp +++ b/Source/items.cpp @@ -927,14 +927,6 @@ void CalcPlrItemVals(int p, bool Loadgfx) plr[p]._pgfxnum = g; } - for (i = 0; i < nummissiles; i++) { - mi = missileactive[i]; - if (missile[mi]._mitype == MIS_MANASHIELD && missile[mi]._misource == p) { - missile[mi]._miVar1 = plr[p]._pHitPoints; - missile[mi]._miVar2 = plr[p]._pHPBase; - break; - } - } if (plr[p].InvBody[INVLOC_AMULET].isEmpty() || plr[p].InvBody[INVLOC_AMULET].IDidx != IDI_AURIC) { int half = MaxGold; MaxGold = GOLD_MAX_LIMIT;