Add readonly to structs
This commit is contained in:
@@ -108,7 +108,7 @@ namespace OpenRA.Mods.Common.Traits
|
||||
}
|
||||
}
|
||||
|
||||
WVec CalculateTargetableOffset(Actor self, WVec offset)
|
||||
WVec CalculateTargetableOffset(Actor self, in WVec offset)
|
||||
{
|
||||
var localOffset = offset;
|
||||
var quantizedBodyOrientation = orientation.QuantizeOrientation(self, self.Orientation);
|
||||
|
||||
Reference in New Issue
Block a user