New types for cell and pixel coordinate position/vectors.
This commit is contained in:
@@ -27,7 +27,7 @@ namespace OpenRA.Mods.RA.Effects
|
||||
doors.PlayThen("active",
|
||||
() => a.World.AddFrameEndTask(w => w.Remove(this)));
|
||||
|
||||
pos = a.CenterLocation - .5f * doors.Image.size + doorOffset;
|
||||
pos = a.CenterLocation.ToFloat2() - .5f * doors.Image.size + doorOffset;
|
||||
}
|
||||
|
||||
public void Tick( World world )
|
||||
|
||||
Reference in New Issue
Block a user