When running the game under any version below 1645, there's no issue with calling step_to(mob2, mob1) and the mob will move on top (density set to false for the target)
Numbered Steps to Reproduce Problem:
-> Update / install byond 1645
-> have 2 mobs
-> have 1 without density
-> step_to from the mob with density to the one without
Code Snippet (if applicable) to Reproduce Problem:
/proc/main()
var/mob/mob1 = new(locate(1,1,1))
var/mob/mob2 = new(locate(2,1,1))
mob1.density = 0
if(step_to(mob2, mob1))
world.log << "success"
Expected Results:
To get to the same turf as the target
Actual Results:
The mob stops one turf before the step_to target
Does the problem occur:
Every time? Or how often? Every time
In other games? Only tested on SS13
In other user accounts? Yes
On other computers? Yes
When does the problem NOT occur?
When rolling back to any version before 1645
Did the problem NOT occur in any earlier versions? If so, what was the last version that worked? (Visit http://www.byond.com/download/build to download old versions for testing.)
It works fine in lower versions than 1645
Workarounds:
Rolling back to previous versions