Fix a subtle bug with flying units in spatialbins. Fixes #489.
This commit is contained in:
@@ -127,7 +127,7 @@ namespace OpenRA.Graphics
|
||||
|
||||
public void DrawSelectionBox(Actor selectedUnit, Color c)
|
||||
{
|
||||
var bounds = selectedUnit.GetBounds(true);
|
||||
var bounds = selectedUnit.GetBounds(false);
|
||||
|
||||
var xy = new float2(bounds.Left, bounds.Top);
|
||||
var Xy = new float2(bounds.Right, bounds.Top);
|
||||
|
||||
Reference in New Issue
Block a user