Ignore:
Timestamp:
Nov 5, 2018, 12:05:53 AM (6 years ago)
Author:
chronos
Message:
  • Fixed: Problem with offscreen bitmap handle causing to not show extra map objects on city map.
  • Modified: Added named constants for positions of terrain images.
File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/LocalPlayer/CityScreen.pas

    r149 r150  
    444444    Offscreen.BeginUpdate;
    445445    PixelPtr.Init(Offscreen, X, Y);
    446     for YY := 0 to h - 1 do begin
    447       for XX := 0 to w - 1 do begin
     446    for YY := 0 to H - 1 do begin
     447      for XX := 0 to W - 1 do begin
    448448        Gray := (Integer(PixelPtr.Pixel^.B) + Integer(PixelPtr.Pixel^.G) +
    449449        Integer(PixelPtr.Pixel^.R)) * 85 shr 8;
Note: See TracChangeset for help on using the changeset viewer.