Changeset 18 for trunk/UFormMain.pas


Ignore:
Timestamp:
Feb 26, 2014, 9:45:23 PM (11 years ago)
Author:
chronos
Message:
  • Add: Player start units setting.
  • Add: Allow add and remove players in new game dialog.
  • Fixed: Do not allow move from to same cell.
File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/UFormMain.pas

    r17 r18  
    200200begin
    201201  if (Abs(StartMousePoint.X - X) < 5) and (Abs(StartMousePoint.Y - Y) < 5) then begin
    202     if Game.CurrentPlayer.Mode = pmHuman then begin
     202    if Game.Running and (Game.CurrentPlayer.Mode = pmHuman) then begin
    203203      Game.CurrentPlayer.SelectCell(Point(X, Y));
    204204      Redraw;
Note: See TracChangeset for help on using the changeset viewer.