Changeset 718


Ignore:
Timestamp:
Jan 11, 2026, 5:49:40 PM (7 hours ago)
Author:
chronos
Message:
  • Fixed: Diplayed wrong completed city production if opened from city events and product switched from unit to building.
File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/LocalPlayer/CityScreen.pas

    r715 r718  
    16531653          (C.Status and 7 - 1 + 3) * xSizeBig, 0, True);
    16541654      end
    1655       else if C.Project and cpImp = 0 then
     1655      else if C.Project0 and cpImp = 0 then
    16561656      begin // project is unit
    16571657        BitBltCanvas(Canvas, xView + 9, yView + 5, xSizeBig, ySizeBig,
    16581658          Bigimp.Canvas, 0, 0);
    1659         with Tribe[cOwner].ModelPicture[C.Project and cpIndex] do
     1659        with Tribe[cOwner].ModelPicture[C.Project0 and cpIndex] do
    16601660          Sprite(Canvas, HGr, xView + 5, yView + 1, 64, 44, pix mod 10 * 65 + 1,
    16611661            pix div 10 * 49 + 1);
Note: See TracChangeset for help on using the changeset viewer.