Changeset 89
- Timestamp:
- Nov 16, 2014, 2:43:04 PM (10 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/UGame.pas
r88 r89 2013 2013 if Assigned(NewSelectedCell) then begin 2014 2014 if Assigned(SelectedCell) and Game.Map.IsCellsNeighbor(NewSelectedCell, SelectedCell) then begin 2015 if ssShift in ShiftState then begin 2016 // Make maximum unit move without confirmation dialog 2017 Game.SetMove(SelectedCell, NewSelectedCell, SelectedCell.Power, False); 2018 SelectedCell := nil; 2019 end else 2015 2020 if ssCtrl in ShiftState then begin 2016 2021 // If CTRL key pressed then storno all moved from selected cell and … … 2456 2461 TPlayer(Players[I]).PlayerMap.CheckVisibility; 2457 2462 end; 2463 Running := ReadBoolean(RootNode, 'Running', True); 2458 2464 end; 2459 2465 finally … … 2487 2493 WriteInteger(RootNode, 'WinObjective', Integer(WinObjective)); 2488 2494 WriteInteger(RootNode, 'StayAliveForDefinedTurns', StayAliveForDefinedTurns); 2495 WriteBoolean(RootNode, 'Running', Running); 2489 2496 2490 2497 NewNode := OwnerDocument.CreateElement('Map');
Note:
See TracChangeset
for help on using the changeset viewer.