This commit is contained in:
2026-03-22 15:23:44 +00:00
parent 3b9b2d9c88
commit c46e23af06
4 changed files with 31 additions and 10 deletions
+1 -1
View File
@@ -57,7 +57,7 @@ pub fn spawn_log_cargo(
);
// Find nearest free tile from biased position
let drop_pos = tilemap.find_nearest_free_cargo_tile(biased_pos, 4)?;
let drop_pos = tilemap.find_nearest_free_cargo_tile(biased_pos, 4, &[])?;
// TODO: OuchEvent — if a living entity occupies drop_pos, they take impact damage.
// Check tilemap occupancy here when the combat/injury system exists.