Returns true if the specified room is valid
| 687 | #define IOBJ (ObjGet(mstruct->ithandle)) |
| 688 | // Returns true if the specified room is valid |
| 689 | bool VALIDATE_ROOM(int roomnum) { |
| 690 | |
| 691 | bool valid = ((roomnum >= 0) && (roomnum <= Highest_room_index) && Rooms[roomnum].used); |
| 692 | if (!valid) |
| 693 | Int3(); |
| 694 | return valid; |
| 695 | } |
| 696 | // Returns true if the specified room & face are valid |
| 697 | bool VALIDATE_ROOM_FACE(int roomnum, int facenum) { |
| 698 |
no outgoing calls
no test coverage detected