- fixed incorrect return variable.

This commit is contained in:
Christoph Oelckers 2017-04-14 15:20:02 +02:00
parent fd07b56ae9
commit 7983f6ea4f

View file

@ -93,7 +93,7 @@ EScopeFlags FScopeBarrier::ChangeSideInObjectFlags(EScopeFlags flags, int side)
int f = int(flags);
f &= ~(Scope_UI | Scope_Play);
f |= ObjectFlagsFromSide(side);
return (EScopeFlags)flags;
return (EScopeFlags)f;
}
FScopeBarrier::FScopeBarrier()