Is your feature request related to a problem? Please describe.
Currently the game freezes at 3484 ticks due to a test. I found the test which is causing this:
//#define FIX_ISSUE_617
#ifdef FIX_ISSUE_617
//Two grasses should merge to one mountain
{
// Create a game with two grassland blocks on top of each other
// +====+====+ +----+----+
// || grass || -> |mountains|
// +====+====+ +----+----+
const std::vector<tile> tiles
{
// x y z r type ID
tile(0.0, 0.0, 0.0, 0.0, 0.0, tile_type::grassland, tile_id()),
tile(0.0, 0.0, 0.0, 0.0, 0.0, tile_type::grassland, tile_id())
};
game g(tiles);
sound_type st { sound_type::none };
assert(count_n_tiles(g) == 2);
assert(collect_tile_types(g)[0] == tile_type::grassland);
assert(collect_tile_types(g)[1] == tile_type::grassland);
g.process_events(st);
assert(count_n_tiles(g) == 1);
assert(collect_tile_types(g)[0] == tile_type::hills);
}
#endif
Describe the solution you'd like
Fix the test
Describe alternatives you've considered
A clear and concise description of any alternative solutions or features you've considered.
Additional context
Add any other context or screenshots about the feature request here.
Is your feature request related to a problem? Please describe. Currently the game freezes at 3484 ticks due to a test. I found the test which is causing this:
Describe the solution you'd like Fix the test
Describe alternatives you've considered A clear and concise description of any alternative solutions or features you've considered.
Additional context Add any other context or screenshots about the feature request here.