mob
Login()
sight |= (SEE_TURFS | SEE_MOBS | SEE_OBJS)
..()
verb
Trigger()
var/sel = input(src, "Which sight variable do you want to trigger?", "Sight") in list("Mobs", "Objs", "Turfs")
switch(sel)
if("Mobs")
sight ^= SEE_MOBS
if("Objs")
sight ^= SEE_OBJS
else
sight ^= SEE_TURFS
Get_Oview()
for(var/atom/a in oview(src, 2))
src << "Found: [a], [a.x], [a.y]"
Problem description:
If all three sight flags are turned on (mobs, objs, turfs), oview will contain turfs behind an opaque obstacle.
If you turn off the mobs/objs flags, oview will no longer contain these turfs, even though seeing mobs/objs should have no influence on visibility of turfs, even more as you can still see them visually on the map.
Is this an error within calculation of view procedures, or is something eluding me?