ref: 347f9282fe1caff5ebca0c76a2de0b47faad630a
parent: 073a15b41b2f959341392f988287097fdf14cb78
author: Gabriel Ravier <gabravier@gmail.com>
date: Tue Nov 5 12:18:12 EST 2019
Documentation : Commented redundant check Signed-off-by: Gabriel Ravier <gabravier@gmail.com>
--- a/src/NpcHit.cpp
+++ b/src/NpcHit.cpp
@@ -520,7 +520,7 @@
// Create value view
if (npc->bits & NPC_SHOW_DAMAGE)
{
- if ((npc->bits & NPC_SHOW_DAMAGE) && npc->damage_view)
+ if ((npc->bits & NPC_SHOW_DAMAGE) && npc->damage_view) // npc->bits & NPC_SHOW_DAMAGE is already verified at this point, so this is redundant
SetValueView(&npc->x, &npc->y, npc->damage_view);
if (bVanish)
VanishNpChar(npc);