forked from Mirrors/openclonk
Fix suspicious_assignment warnings in Decoration
parent
e024bef54b
commit
808a90e5af
|
@ -20,10 +20,11 @@ public func SetToFront(bool is_in_front)
|
||||||
{
|
{
|
||||||
if (is_in_front)
|
if (is_in_front)
|
||||||
{
|
{
|
||||||
return this.Plane = 510;
|
this.Plane = 510;
|
||||||
}
|
}
|
||||||
else
|
else
|
||||||
{
|
{
|
||||||
return this.Plane = 110;
|
this.Plane = 110;
|
||||||
}
|
}
|
||||||
|
return this.Plane;
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in New Issue