Adds a room to the selected list, if it's not already there
| 90 | |
| 91 | // Adds a room to the selected list, if it's not already there |
| 92 | void AddRoomToSelectedList(int roomnum) { |
| 93 | if (!IsRoomSelected(roomnum)) { |
| 94 | Selected_rooms[N_selected_rooms++] = roomnum; |
| 95 | State_changed = 1; |
| 96 | } |
| 97 | } |
| 98 | |
| 99 | // Removes a room from the selected list, if it's there |
| 100 | void RemoveRoomFromSelectedList(int roomnum) { |
no test coverage detected