Ai movements aren't skipped by resting

In vanilla, resting "skips" the course of NPC movements. e.g. if you rest/wait while a NPC is executing an AiTravel command, the NPC will be at its target destination when the screen fades back in. Same goes for AiWander movements - if you rest/wait while a guard is walking, it doesn't resume in mid-stride. NPCs with AiWander tend to get repositioned even if they were still when resting is initiated.

(RM-1464 from redmine: created on 2014-06-11 by rot tor, , closed on 2014-06-11 by nobody, duplicates #1125 (closed))

Edited by redmine