Fixed a bug on game achievements percentage calculation.
This commit is contained in:
@@ -2,8 +2,11 @@
|
|||||||
|
|
||||||
## [master] (https://github.com/WagicProject/wagic/tree/master)
|
## [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
|
### 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
|
### 25/09/21
|
||||||
- *Committed:* Fixed changelog after pull merge. https://github.com/WagicProject/wagic/commit/8ae7439978ace71b0759f2cfe55dfbac2cc9e253 ([Vitty85](https://github.com/Vitty85))
|
- *Committed:* Fixed changelog after pull merge. https://github.com/WagicProject/wagic/commit/8ae7439978ace71b0759f2cfe55dfbac2cc9e253 ([Vitty85](https://github.com/Vitty85))
|
||||||
|
|||||||
@@ -267,7 +267,7 @@ int GameStateMenu::gamePercentComplete() {
|
|||||||
for (map<string, Unlockable *>::iterator it = Unlockable::unlockables.begin(); it != Unlockable::unlockables.end(); ++it) {
|
for (map<string, Unlockable *>::iterator it = Unlockable::unlockables.begin(); it != Unlockable::unlockables.end(); ++it) {
|
||||||
total++;
|
total++;
|
||||||
if (it->second->isUnlocked())
|
if (it->second->isUnlocked())
|
||||||
total++;
|
done++;
|
||||||
}
|
}
|
||||||
|
|
||||||
total++;
|
total++;
|
||||||
|
|||||||
Reference in New Issue
Block a user