Skip to content

Commit

Permalink
Make default picture logic more explicit
Browse files Browse the repository at this point in the history
  • Loading branch information
mateofio committed Dec 4, 2019
1 parent 67d6419 commit 66058a9
Showing 1 changed file with 6 additions and 3 deletions.
9 changes: 6 additions & 3 deletions src/game_screen.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -37,13 +37,16 @@ static int GetDefaultNumberOfPictures() {
if (Player::IsEnglish()) {
return 1000;
}
if (Player::IsMajorUpdatedVersion()) {
else if (Player::IsMajorUpdatedVersion()) {
return 50;
}
if (Player::IsRPG2k3()) {
else if (Player::IsRPG2k3Legacy()) {
return 40;
}
return 20;
else if (Player::IsRPG2kLegacy()) {
return 20;
}
return 0;
}

Game_Screen::Game_Screen() :
Expand Down

0 comments on commit 66058a9

Please sign in to comment.