- Added translucent static tile support (fixes #46)

- Fixed infinite recursion when updating ghost map tiles
This commit is contained in:
2009-12-05 01:24:58 +01:00
parent 833c470cb7
commit dd88d845cd
2 changed files with 51 additions and 37 deletions
+3
View File
@@ -211,6 +211,7 @@ type
Highlighted: Boolean;
HueOverride: Boolean;
CheckRealQuad: Boolean;
Translucent: Boolean;
Next: PBlockInfo;
end;
@@ -1211,6 +1212,7 @@ begin
Result^.Normals := nil;
Result^.State := ssNormal;
Result^.Highlighted := False;
Result^.Translucent := False;
Result^.Next := nil;
if FShortCuts[0] = nil then //First element
@@ -1353,6 +1355,7 @@ begin
Result^.Normals := nil;
Result^.State := ssNormal;
Result^.Highlighted := False;
Result^.Translucent := False;
if (FShortCuts[0] = nil) or (CompareWorldItems(AItem, FShortCuts[0]^.Item) < 0) then
begin