embark-assistant: fix x=16, y=16 dimensions

develop
lethosor 2018-07-19 14:48:28 -04:00
parent 46a28c5f52
commit af53fe6740
2 changed files with 5 additions and 2 deletions

@ -37,6 +37,9 @@ changelog.txt uses a syntax similar to RST, with a few special sequences:
================================================================================ ================================================================================
# Future # Future
## Fixes
- `embark-assistant`: fixed crash when entering finder with a 16x16 embark selected, and added 16 to dimension choices
## Internals ## Internals
- Core: various thread safety and memory management improvements - Core: various thread safety and memory management improvements
- Fixed cmake build dependencies for generated header files - Fixed cmake build dependencies for generated header files

@ -316,14 +316,14 @@ namespace embark_assist {
switch (i) { switch (i) {
case fields::x_dim: case fields::x_dim:
for (int16_t k = 1; k < 16; k++) { for (int16_t k = 1; k <= 16; k++) {
element->list.push_back({ std::to_string(k), k }); element->list.push_back({ std::to_string(k), k });
} }
break; break;
case fields::y_dim: case fields::y_dim:
for (int16_t k = 1; k < 16; k++) { for (int16_t k = 1; k <= 16; k++) {
element->list.push_back({ std::to_string(k), k }); element->list.push_back({ std::to_string(k), k });
} }