Fixed some things around

This commit is contained in:
ZZYZX 2017-02-17 23:36:16 +02:00
commit 014db18f2a
3 changed files with 24 additions and 23 deletions

View file

@ -187,7 +187,7 @@ struct FScopeBarrier
sidelast = sideto;
else sideto = sidelast;
if ((sideto == Side_UI) != (sidefrom == Side_UI)) // only ui -> ui is readable
if ((sideto == Side_UI) && (sidefrom != Side_UI)) // only ui -> ui is readable
{
readable = false;
readerror.Format("Can't read %s field %s from %s context", StringFromSide(sideto), name, StringFromSide(sidefrom));