ID:92832
 
Resolved
The get_step_rand() function did not compile correctly, resulting in the function returning null in most cases.
BYOND Version:464
Operating System:Windows 7 Home Premium
Web Browser:Chrome 4.0.249.89
Applies to:DM Language
Status: Resolved (469)

This issue has been resolved.
Descriptive Problem Summary:
Calling get_step_rand() always returns null.

Code Snippet (if applicable) to Reproduce Problem:
mob/verb/Test()
var/turf/T=get_step_rand(src)
src.loc=T
src<<"Result is null: [isnull(T)]"


Expected Results:
"Calculate position of a step from Ref in random motion."

Actual Results:
Returns null.

Does the problem occur:
Every time? Or how often? Every time.
In other games? Yes

When does the problem NOT occur?
step_rand() seems to work fine.