Skip to content

Commit

Permalink
Fixed victory messages (for real this time)
Browse files Browse the repository at this point in the history
  • Loading branch information
bgradin committed Mar 5, 2014
1 parent e66dd10 commit 7452e31
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions Chips Challenge/Chips Challenge.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -1246,11 +1246,11 @@ INT_PTR CALLBACK Victory(HWND hDlg, UINT message, WPARAM wParam, LPARAM lParam)

// Top message
string msg_str;
if (game.totalTries == 1)
if (game.totalTries + 1 == 1)
msg_str = "Yowser! First Try!";
else if (game.totalTries < 4)
else if (game.totalTries + 1 < 4)
msg_str = "Go Bit Buster!";
else if (game.totalTries < 6)
else if (game.totalTries + 1 < 6)
msg_str = "Finished! Good Work!";
else
msg_str = "At last! You did it!";
Expand Down

0 comments on commit 7452e31

Please sign in to comment.