Ignore:
Timestamp:
Mar 19, 2021, 12:32:32 PM (3 years ago)
Author:
chronos
Message:
  • Modified: Defined and used more Templates graphic set items.
  • Fixed: Incorrect evaluation of nil graphic set references.
File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/LocalPlayer/Draft.pas

    r315 r318  
    300300      for i := 0 to MaxWeight - 1 do
    301301        if i < Weight then
    302           ImageOp_BCC(offscreen, Templates.Data, xWeight + 20 * i, yWeight, 123, 400,
    303             18, 20, 0, $949494)
     302          ImageOp_BCC(offscreen, Templates.Data, Point(xWeight + 20 * i, yWeight),
     303            WeightOn.BoundsRect, 0, $949494)
    304304        else
    305           ImageOp_BCC(offscreen, Templates.Data, xWeight + 20 * i, yWeight, 105, 400,
    306             18, 20, 0, $949494);
     305          ImageOp_BCC(offscreen, Templates.Data, Point(xWeight + 20 * i, yWeight),
     306            WeightOff.BoundsRect, 0, $949494);
    307307    end;
    308308
Note: See TracChangeset for help on using the changeset viewer.