| 859 | } |
| 860 | |
| 861 | void CEditorView::OnRoomBuildBridge() { |
| 862 | if ((Markedroomp == NULL) || (Markedface == -1)) { |
| 863 | OutrageMessageBox("You must have a marked face to use this function."); |
| 864 | return; |
| 865 | } |
| 866 | |
| 867 | if ((Markedroomp == Curroomp) && (Markedface == Curface)) { |
| 868 | OutrageMessageBox("The marked room:face must be different from the current room:face."); |
| 869 | return; |
| 870 | } |
| 871 | |
| 872 | BuildBridge(Curroomp, Curface, Markedroomp, Markedface); |
| 873 | } |
| 874 | |
| 875 | void CEditorView::OnRoomJoinRooms() { |
| 876 | if ((Markedroomp == NULL) || (Markedface == -1)) { |
nothing calls this directly
no test coverage detected