Changeset 8 for trunk/UGame.pas
- Timestamp:
- Feb 12, 2014, 9:32:54 PM (11 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/UGame.pas
r7 r8 110 110 111 111 procedure TPlayer.SelectCell(Pos: TPoint); 112 begin 113 SelectedCell := Game.Map.PosToCell(Pos, View, ViewZoom); 112 var 113 NewSelectedCell: TPoint; 114 begin 115 NewSelectedCell := Game.Map.PosToCell(Pos, View, ViewZoom); 116 if (NewSelectedCell.X = SelectedCell.X) and (NewSelectedCell.Y = SelectedCell.Y) then 117 SelectedCell := Point(-1, -1) 118 else SelectedCell := NewSelectedCell; 114 119 end; 115 120
Note:
See TracChangeset
for help on using the changeset viewer.