anchor.diff:    po: TBGRABitmap;
     {$ENDIF}
   begin
  +  RX := Byte(aRT) + 1;
  +
     if not DirectoryExists(ExeDir + 'Sprites\') then Exit;
  -
  -  RX := Byte(aRT) + 1;
   
     FileList := TStringList.Create;
     FindFirst(ExeDir + 'Sprites\' + inttostr(RX)+'_????.png', faAnyFile AND NOT faDirectory, SearchRec);
  
positive.code: begin
    ID := Byte(aRT) + 1;
  
    RXData[ID].HasTeamColors := RXInfo[aRT].TeamColors; //HasTeamColors is used by fRender as well
  
    LeftIndex:=0; AllocatedRAM:=0; RequiredRAM:=0; ColorsRAM:=0; TexCount:=0;
    repeat
      inc(LeftIndex);
  
negative.code:       HasMsk := HasMsk or RXData[ID].HasMask[j];
  
      //If we need to prepare textures for TeamColors          //special fix for iron mine logo
      if MAKE_TEAM_COLORS and RXInfo[aRT].TeamColors and (not ((ID=4)and InRange(49,LeftIndex,RightIndex))) then
      begin
        GFXData[ID,LeftIndex].TexID := fRender.GenTexture(WidthPOT,HeightPOT,@TD[0],tf_Normal);
        //TeamColors are done through alternative plain colored texture
  