Skip to content

Commit

Permalink
don't show hearts when affection values are at 0
Browse files Browse the repository at this point in the history
  • Loading branch information
Renari committed May 22, 2016
1 parent 855a8bd commit 5f682bb
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion FFXRT/mainwindow.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -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);
Expand Down

0 comments on commit 5f682bb

Please sign in to comment.