Fixed an issue where the player starting the game was not expanding its terretory at the start of the game.
This commit is contained in:
parent
d16d998034
commit
63d4e42b80
2 changed files with 5 additions and 3 deletions
|
@ -274,6 +274,8 @@ void Game::start()
|
||||||
std::random_shuffle(players.begin(), players.end());
|
std::random_shuffle(players.begin(), players.end());
|
||||||
this->turn = 0;
|
this->turn = 0;
|
||||||
Player::current_player = players[0];
|
Player::current_player = players[0];
|
||||||
|
trigger_event(BOB_NEXTROUNDEVENT, 0, nullptr, (void *) Player::current_player);
|
||||||
|
trigger_event(BOB_NEXTTURNEVENT, 0, nullptr, (void *) Player::current_player);
|
||||||
}
|
}
|
||||||
|
|
||||||
int Game::game_loop()
|
int Game::game_loop()
|
||||||
|
|
|
@ -496,9 +496,9 @@ const std::unordered_map<Upgrade, std::string> UPGRADE_TEXTS(
|
||||||
{Regeneration_1, "Resources yield 2x their base resources per turn."},
|
{Regeneration_1, "Resources yield 2x their base resources per turn."},
|
||||||
{Regeneration_2, "Resources yield 4x their base resources per turn."},
|
{Regeneration_2, "Resources yield 4x their base resources per turn."},
|
||||||
{Regeneration_3, "Resources yield 8x their base resources per turn."},
|
{Regeneration_3, "Resources yield 8x their base resources per turn."},
|
||||||
{Reproduction_1, "Not used yet!"},
|
{Reproduction_1, "Increase the chance for expanding to a new field at the end of the turn by 25%."},
|
||||||
{Reproduction_2, "Not used yet!"},
|
{Reproduction_2, "Increase the chance for expanding to a new field at the end of the turn by 50%."},
|
||||||
{Reproduction_3, "Not used yet!"}
|
{Reproduction_3, "Increase the chance for expanding to a new field at the end of the turn by 75%."}
|
||||||
}
|
}
|
||||||
);
|
);
|
||||||
|
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue