betostafe / castlesand

Automatically exported from code.google.com/p/castlesand
0 stars 0 forks source link

Lazarus build fails on TBGRAPixel #75

Closed GoogleCodeExporter closed 9 years ago

GoogleCodeExporter commented 9 years ago
Line 318 of KM_ResourceSprites.pas

if Cardinal(po.GetPixel(I,K) and $FFFFFF) <> 0 then

Is not supported in Lazarus. The expression can be changed to

if Cardinal(po.GetPixel(I,K).red or
  po.GetPixel(I,K).green or
  po.GetPixel(I,K).blue) <> 0 then

Original issue reported on code.google.com by send.to....@gmail.com on 15 Mar 2013 at 5:32

GoogleCodeExporter commented 9 years ago
Fixed. Thanks )

Original comment by kromster80@gmail.com on 15 Mar 2013 at 5:35