weird bug?

new topic     » topic index » view thread      » older message » newer message

Here's a really weird bug:

in my engine this causes it to crash:

 if ZBuffer[CamZB][pl+2]>z then
   TileBuffer[CamTile][pl+2]=3Drgb --pixel(col,{x,y})
   ZBuffer[CamZB][pl+2]=3Dz
  end if

but this works just fine:

  if ZBuffer[CamZB][pl+2]>z then
   TileBuffer[CamTile][pl+2]=3Drgb --pixel(col,{x,y})
   if pl<1 or pl>2+640*480 then=20

   end if
   ZBuffer[CamZB][pl+2]=3Dz
  end if

WHY IN EARTH????
This line,
   if pl<1 or pl>2+640*480 then  end if
shouldn't affect in any way to my program.
Have I found a bug in Euphoria or what?
Has anyone else noticed something similar to this?

--Talvitie

new topic     » topic index » view thread      » older message » newer message

Search



Quick Links

User menu

Not signed in.

Misc Menu