From 5f682bbcd6c63e0f7fc9e12b3493bb5cae7f503b Mon Sep 17 00:00:00 2001 From: Renari Date: Sat, 21 May 2016 22:14:11 -0400 Subject: [PATCH] don't show hearts when affection values are at 0 --- FFXRT/mainwindow.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/FFXRT/mainwindow.cpp b/FFXRT/mainwindow.cpp index 6e73f45..42fddb2 100644 --- a/FFXRT/mainwindow.cpp +++ b/FFXRT/mainwindow.cpp @@ -70,7 +70,7 @@ void MainWindow::readMemoryAndSetText(HANDLE handle, QLabel *label, DWORD addres highestAffection = value; resetPixmap(); updatePixmap(label, true); - } else if (value == highestAffection) { + } else if (highestAffection != 0 && value == highestAffection) { updatePixmap(label, true); } else { updatePixmap(label, false);