ID:2273994
 
Resolved
Calling oview() from a null location included the reference object.
BYOND Version:511
Operating System:Windows 7 Ultimate 64-bit
Web Browser:Chrome 59.0.3071.115
Applies to:Dream Daemon
Status: Resolved (512.1386)

This issue has been resolved.
Descriptive Problem Summary:

client
verb
test()
mob.loc = null
if(mob in oview(1,mob))
src << "This shouldn't show."
mob.loc = locate(1,1,1)
if(!(mob in oview(1,mob)))
src << "This should show."


This was reported fixed in 511.1377, but to my knowledge it was never fixed.
Huh. I distinctly remember looking into that and fixing it, but I'll give it another look.
Apologies for the delay in getting back to this. I took a look and the results I'm getting are indeed correct.
...Correct as in the bug report is accurate, or correct as in the bug report is inaccurate?
Urgh, my bad. I had a massive brainfart earlier and somehow just didn't at all process the semantics of "this shouldn't show". It was that kind of day.

I can confirm there's a bug here. I'll look into it further.
Found the problem. This actually relates to a fix that was done for view() when the loc was null, but it didn't take the exclusion of oview() into account.
Lummox JR resolved issue with message:
Calling oview() from a null location included the reference object.