| 3259 | World_changed = 1; |
| 3260 | } |
| 3261 | |
| 3262 | void CMainFrame::OnObjectPlaceCameraAtViewer() { |
| 3263 | int objnum; |
| 3264 | |
| 3265 | objnum = ObjCreate(OBJ_CAMERA, 0, Viewer_object->roomnum, &Viewer_object->pos, &Viewer_object->orient); |
| 3266 | |
| 3267 | if (objnum == -1) { |
| 3268 | Int3(); |
| 3269 | return; |
| 3270 | } |
| 3271 | |
| 3272 | EditorStatus("Camera created as object %d\n", objnum); |
| 3273 | |
| 3274 | World_changed = 1; |
| 3275 | } |
| 3276 | |
| 3277 | void CMainFrame::OnObjectPlaceCameraAtCurrentFace() { |
nothing calls this directly
no test coverage detected