Jump to content

[minor][8316] Remove double "SPIRIT is:" in Player::outDebugValues


Recommended Posts

Posted
diff --git a/src/game/Player.cpp b/src/game/Player.cpp
index a4c8872..1f13b1d 100644
--- a/src/game/Player.cpp
+++ b/src/game/Player.cpp
@@ -15917,7 +15917,7 @@ void Player::outDebugValues() const
    sLog.outDebug("HP is: \\t\\t\\t%u\\t\\tMP is: \\t\\t\\t%u",GetMaxHealth(), GetMaxPower(POWER_MANA));
    sLog.outDebug("AGILITY is: \\t\\t%f\\t\\tSTRENGTH is: \\t\\t%f",GetStat(STAT_AGILITY), GetStat(STAT_STRENGTH));
    sLog.outDebug("INTELLECT is: \\t\\t%f\\t\\tSPIRIT is: \\t\\t%f",GetStat(STAT_INTELLECT), GetStat(STAT_SPIRIT));
-    sLog.outDebug("STAMINA is: \\t\\t%f\\t\\tSPIRIT is: \\t\\t%f",GetStat(STAT_STAMINA), GetStat(STAT_SPIRIT));
+    sLog.outDebug("STAMINA is: \\t\\t%f",GetStat(STAT_STAMINA));
    sLog.outDebug("Armor is: \\t\\t%u\\t\\tBlock is: \\t\\t%f",GetArmor(), GetFloatValue(PLAYER_BLOCK_PERCENTAGE));
    sLog.outDebug("HolyRes is: \\t\\t%u\\t\\tFireRes is: \\t\\t%u",GetResistance(SPELL_SCHOOL_HOLY), GetResistance(SPELL_SCHOOL_FIRE));
    sLog.outDebug("NatureRes is: \\t\\t%u\\t\\tFrostRes is: \\t\\t%u",GetResistance(SPELL_SCHOOL_NATURE), GetResistance(SPELL_SCHOOL_FROST));

Don't see any reason for it to be there twice :).

×
×
  • Create New...

Important Information

We have placed cookies on your device to help make this website better. You can adjust your cookie settings, otherwise we'll assume you're okay to continue. Privacy Policy Terms of Use