Changeset 158 for trunk/Forms


Ignore:
Timestamp:
Nov 19, 2017, 1:02:02 AM (7 years ago)
Author:
chronos
Message:
  • Fixed: Show error message if not all players were placed to the map.
File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/Forms/UFormMain.pas

    r148 r158  
    251251begin
    252252  with Core, Game, CurrentClient, View do begin
    253     MapRect := Map.GetPixelRect;
     253    MapRect := Map.CalculatePixelRect;
    254254    Factor := FloatPoint((DestRect.Right - DestRect.Left) / (MapRect.Right - MapRect.Left),
    255255      (DestRect.Bottom - DestRect.Top) / (MapRect.Bottom - MapRect.Top));
Note: See TracChangeset for help on using the changeset viewer.