diff --git a/bapi.dll b/bapi.dll index 1bdf36e23f9..87e57686b65 100644 Binary files a/bapi.dll and b/bapi.dll differ diff --git a/html/changelogs/DreamySkrell-bapi-grid-alloc-bugfix.yml b/html/changelogs/DreamySkrell-bapi-grid-alloc-bugfix.yml new file mode 100644 index 00000000000..7f249892840 --- /dev/null +++ b/html/changelogs/DreamySkrell-bapi-grid-alloc-bugfix.yml @@ -0,0 +1,7 @@ + +author: DreamySkrell + +delete-after: True + +changes: + - bugfix: "BAPI - mapmanip grid alloc bugfix." diff --git a/rust/bapi/src/mapmanip/core/mod.rs b/rust/bapi/src/mapmanip/core/mod.rs index 69d5b627719..1855b21c981 100644 --- a/rust/bapi/src/mapmanip/core/mod.rs +++ b/rust/bapi/src/mapmanip/core/mod.rs @@ -68,7 +68,7 @@ impl TileGrid { pub fn new(size_x: i32, size_y: i32, size_z: i32) -> TileGrid { Self { size: Coord3::new(size_x, size_y, size_z), - grid: vec![Tile::default(); (size_x * size_y * size_y) as usize], + grid: vec![Tile::default(); (size_x * size_y * size_z) as usize], } } diff --git a/tools/ci/libbapi_ci.so b/tools/ci/libbapi_ci.so index b41c06749b7..c2b80b8d7fe 100644 Binary files a/tools/ci/libbapi_ci.so and b/tools/ci/libbapi_ci.so differ