There was an error while loading. Please reload this page.
1 parent 58c2f3d commit 8739ce9Copy full SHA for 8739ce9
1 file changed
sfall/Game/tilemap.cpp
@@ -306,6 +306,7 @@ long __fastcall Tilemap::make_path_func(fo::GameObject* srcObject, long sourceTi
306
if (!fo::func::anim_can_use_door(srcObject, objBlock)) continue; // block - next rotation
307
} else {
308
targetTile = tile; // replace the target tile (where the multihex object is located) with the current tile
309
+ fo::func::tile_coord(targetTile, &targetX, &targetY); // update target coordinates
310
}
311
312
0 commit comments