Skip to content
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
4 changes: 2 additions & 2 deletions GWToolboxdll/Widgets/PartyDamage.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -684,7 +684,7 @@ void PartyDamage::Draw(IDirect3DDevice9*)
const auto text_height = ImGui::GetTextLineHeight();
const auto text_y = damage_top_left.y + (row_height - text_height) / 2;

if (settings.show_damage) {
if (settings.show_damage && entry->damage > 0) {
// Damage text
if (damage_float < 1000.f) {
snprintf(buffer, buffer_size, "%.0f", damage_float);
Expand All @@ -709,7 +709,7 @@ void PartyDamage::Draw(IDirect3DDevice9*)
}
}

if (settings.show_healing) {
if (settings.show_healing && entry->healing > 0) {
// Healing text
const float healing_float = static_cast<float>(entry->healing);
if (healing_float < 1000.f) {
Expand Down
Loading