Ignore:
Timestamp:
May 14, 2020, 9:31:00 PM (5 years ago)
Author:
chronos
Message:
  • Fixed: Wrong timeout calculation in movie mode.
  • Fixed: City dialog sound index out of range.
File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/LocalPlayer/MessgEx.pas

    r215 r227  
    212212        Sleep(1);
    213213        Ticks := NowPrecise;
    214       until MovieCancelled or (MillisecondOf(Ticks - Ticks0) >= 1500);
     214      until MovieCancelled or (Round((Ticks - Ticks0) / OneMillisecond) >= 1500);
    215215      Hide;
    216216    end;
     
    373373      begin
    374374        p1 := MyRO.Wonder[IconIndex].EffectiveOwner;
     375        // TODO: Explicitly clear background to black but in fact BitBlt SRCCOPY should do it
     376        Buffer.Canvas.FillRect(0, 0, 1, 1);
    375377        BitBltCanvas(Buffer.Canvas, 0, 0, xSizeBig + 2 * GlowRange,
    376378          ySizeBig + 2 * GlowRange, Canvas,
Note: See TracChangeset for help on using the changeset viewer.