socket fixes, fix tank jumping
This commit is contained in:
parent
9620703efc
commit
b3dacbd6f6
13 changed files with 44 additions and 46 deletions
|
@ -32,7 +32,7 @@ internal sealed class SpawnNewTanks(
|
|||
if (map.IsCurrentlyWall(tile))
|
||||
continue;
|
||||
|
||||
var tilePixelCenter = tile.GetPixelRelative(4, 4).ToFloatPosition();
|
||||
var tilePixelCenter = tile.ToPixelPosition().GetPixelRelative(4, 4).ToFloatPosition();
|
||||
|
||||
var minDistance = bullets.GetAll()
|
||||
.Cast<IMapEntity>()
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue