| 739 | } |
| 740 | |
| 741 | void CEditorView::OnButtonLighting() { |
| 742 | Lighting_on = !Lighting_on; |
| 743 | EditorStatus("Lighting turned %s", Lighting_on ? "ON" : "OFF"); |
| 744 | State_changed = 1; |
| 745 | } |
| 746 | |
| 747 | void CEditorView::OnUpdateButtonLighting(CCmdUI *pCmdUI) { pCmdUI->SetCheck(Lighting_on); } |
| 748 |
nothing calls this directly
no test coverage detected