ttyborg / unflobtactical

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

Destroyed obstacles still block line of sight (?) #19

Closed GoogleCodeExporter closed 9 years ago

GoogleCodeExporter commented 9 years ago
Shooting straw bales removes them from the map. But they still block sight, 
until their (now cleared) area is stepped on.

Aliens certainly get reaction fire as soon as soldiers step into area where the 
straw was.

I'm not entirely sure but it could be that approaching the "invisible" area 
from another side fixes LOS.

r528, Windows XP/sp3

(Screenshot has reduced colours.)

Original issue reported on code.google.com by slavik.v...@seznam.cz on 7 Jan 2011 at 9:54

Attachments:

GoogleCodeExporter commented 9 years ago
Got an even better screenie where it's really apparent that the area should be 
visible...

Original comment by slavik.v...@seznam.cz on 7 Jan 2011 at 10:01

Attachments:

GoogleCodeExporter commented 9 years ago
Nice catch! And thanks for the great screenshots! I'll definitely work this one 
out before the next drop.

Original comment by leethoma...@gmail.com on 10 Jan 2011 at 5:49

GoogleCodeExporter commented 9 years ago

Original comment by leethoma...@gmail.com on 10 Jan 2011 at 5:50

GoogleCodeExporter commented 9 years ago
The whole "set flag when visibility changes" system was broken. It started out 
okay, but over time too many things can change the visibility to reliably set 
flags. Removed the flags, and does a memcmp on the current and past visibility 
map.

Code change:
http://code.google.com/p/unflobtactical/source/detail?r=556

Hopefully this fixes the bug. Please note / reopen if it still repros in the 
next build.

Original comment by leethoma...@gmail.com on 17 Jan 2011 at 5:31