Fix eobject to use an in-array object
This commit is contained in:
parent
c1f8497b33
commit
3ea0470aa7
|
@ -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!
|
||||
|
|
Loading…
Reference in a new issue