Returns the number (not the id) of the current viewer, in the range 0..MAX_VIEWERS
| 308 | |
| 309 | // Returns the number (not the id) of the current viewer, in the range 0..MAX_VIEWERS |
| 310 | int GetViewerNum() { |
| 311 | ASSERT(Editor_view_mode != VM_ROOM); |
| 312 | |
| 313 | return Viewer_object->id; |
| 314 | } |
| 315 | |
| 316 | // Set the specified object to be the viewer |
| 317 | void SetViewer(int objnum) { |
no outgoing calls
no test coverage detected