- Fixed intensity of translucent tiles
- Changed statics priority
This commit is contained in:
parent
186527c606
commit
ca8f47d2a9
|
@ -2348,7 +2348,7 @@ begin
|
|||
end;
|
||||
|
||||
if blockInfo^.Translucent then
|
||||
glColor4f(intensity, intensity, intensity, 0.5)
|
||||
glColor4f(intensity, intensity, intensity, 0.8)
|
||||
else
|
||||
glColor4f(intensity, intensity, intensity, 1.0);
|
||||
|
||||
|
|
|
@ -157,9 +157,7 @@ procedure TStaticItem.UpdatePriorities(ATileData: TStaticTiledata;
|
|||
ASolver: Integer);
|
||||
begin
|
||||
FPriorityBonus := 0;
|
||||
if not (tdfBackground in ATileData.Flags) then
|
||||
Inc(FPriorityBonus);
|
||||
if ATileData.Height > 0 then
|
||||
if not (tdfBackground in ATileData.Flags) or (ATileData.Height > 0) then
|
||||
Inc(FPriorityBonus);
|
||||
FPriority := Z + FPriorityBonus;
|
||||
FPrioritySolver := ASolver;
|
||||
|
|
Loading…
Reference in New Issue