A simple fix for BelowUnits breaking z-offsets.
This commit is contained in:
committed by
Matthias Mailänder
parent
90c8072591
commit
baf3c55f26
@@ -34,7 +34,7 @@ namespace OpenRA.Mods.RA
|
||||
|
||||
public IEnumerable<IRenderable> ModifyRender(Actor self, WorldRenderer wr, IEnumerable<IRenderable> r)
|
||||
{
|
||||
return r.Select(a => a.WithZOffset(offset));
|
||||
return r.Select(a => a.WithZOffset(a.ZOffset + offset));
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user