ID:117909
 
Resolved
locate(/atom/movable) behaved exactly like locate(/obj), and would ignore any mobs present.
BYOND Version:489
Operating System:Windows XP Pro
Web Browser:N/A
Applies to:Dream Daemon
Status: Resolved (490)

This issue has been resolved.
Descriptive Problem Summary:
Calling locate(/atom/movable) would return results matching locate(/obj) and ignore mobs.

Code Snippet (if applicable) to Reproduce Problem:
mob/verb/LocateTest()
if(locate(/mob) in loc)
usr << "I found you!"
else
usr << "You are not here."


Expected Results:
locate(/atom/movable) should not return null if a mob is present in the list.

Actual Results:
locate(/atom/movable) ignores mobs.

Workarounds:

Call locate(/obj) and locate(/mob) separately.