Fixed a bug on game achievements percentage calculation.

This commit is contained in:
Vittorio Alfieri
2021-09-27 11:33:35 +02:00
parent 9e3caa635d
commit 79d353d3ee
2 changed files with 5 additions and 2 deletions

View File

@@ -2,8 +2,11 @@
## [master] (https://github.com/WagicProject/wagic/tree/master)
### 27/09/21
- *Committed:* Fixed a bug on game achievements percentage calculation. ([Vitty85](https://github.com/Vitty85))
### 26/09/21
- *Committed:* Added new decks for AI, improved "genrand", "altercost" and "changecost" keywords in order to allow the usage of a variable instead of a simple number (e.g. "altercost(colorless, -phandcount)"). ([Vitty85](https://github.com/Vitty85))
- *Committed:* Added new decks for AI, improved "genrand", "altercost" and "changecost" keywords in order to allow the usage of a variable instead of a simple number (e.g. "altercost(colorless, -phandcount)"). https://github.com/WagicProject/wagic/commit/9e3caa635dc00f60d5e908723c015dbac3bf6f7a ([Vitty85](https://github.com/Vitty85))
### 25/09/21
- *Committed:* Fixed changelog after pull merge. https://github.com/WagicProject/wagic/commit/8ae7439978ace71b0759f2cfe55dfbac2cc9e253 ([Vitty85](https://github.com/Vitty85))

View File

@@ -267,7 +267,7 @@ int GameStateMenu::gamePercentComplete() {
for (map<string, Unlockable *>::iterator it = Unlockable::unlockables.begin(); it != Unlockable::unlockables.end(); ++it) {
total++;
if (it->second->isUnlocked())
total++;
done++;
}
total++;