anchor.diff:  var
     I: Integer;
   begin
  +  if gGame.IsMapEditor then
  +    Exit;
  +
     Result := 0;
     if aCount = 0 then Exit;
     Assert(aHouse <> nil);
  
positive.code: var
    I,K,J: Integer;
  begin
    Assert(aResource <> wtNone, 'Demanding rtNone');
    if aCount <= 0 then Exit;
  
  
negative.code: var
    I: Integer;
  begin
    if gGame.IsMapEditor then
      Exit;
  
    Assert(aHouse <> nil);
    for I := 1 to fDemandCount do
      if fDemand[I].Loc_House = aHouse then
  