- Fixed TfrmMain.SetCurrentTile to exit only under correct conditions

- Fixed ghost tile creation to handle random height
- Changed UpdateSelection to only process the selection changes if necessary
- Changed TMapCell.GhostZ to be readable (necessary for simplier increase with random altitude)
This commit is contained in:
2009-12-04 02:20:56 +01:00
parent 211866d6c1
commit 20747a4e0c
2 changed files with 64 additions and 53 deletions

View File

@@ -52,7 +52,7 @@ type
public
property Altitude: ShortInt read GetZ write SetZ;
property IsGhost: Boolean read FIsGhost write FIsGhost;
property GhostZ: ShortInt write FGhostZ;
property GhostZ: ShortInt read FGhostZ write FGhostZ;
property GhostID: Word write FGhostID;
function Clone: TMapCell; override;