Fix eobject to use an in-array object

This commit is contained in:
Kp 2015-10-30 02:52:54 +00:00
parent c1f8497b33
commit 3ea0470aa7

View file

@ -762,7 +762,7 @@ static void move_object_to_position(const vobjptridx_t objp, const vms_vector &n
fvi_info hit_info;
temp_viewer_obj = *Viewer;
auto viewer_segnum = find_object_seg(vobjptr(&temp_viewer_obj));
auto viewer_segnum = find_object_seg(vobjptr(Viewer));
temp_viewer_obj.segnum = viewer_segnum;
// If the viewer is outside the mine, get him in the mine!