anchor.diff:    SetLength(RXData[fRT].Mask,     aCount);
     SetLength(RXData[fRT].HasMask,  aCount);
   end;
  +
   
   //Convert paletted data into RGBA and select Team color layer from it
   procedure TKMSpritePack.Expand;
  
positive.code: 
  
  { TKMSpritePack }
  constructor TKMSpritePack.Create(aPalettes: TKMPalettes; aRT: TRXType);
  begin
    inherited Create;
  
negative.code:   fPalettes := aPalettes;
    fRT := aRT;
  end;
  
  
  procedure TKMSpritePack.Allocate(aCount: Integer);
  begin
  