void dialog_hide() { if ( cheat_state->_generic.cheat_panic_enabled) return; g_Dialog->iDialogShowed ^= 1; if (g_Dialog->iDialogShowed == 0) { cheat_state_text("Dialog hided"); } if (g_Dialog->iDialogShowed == 1) { cheat_state_text("Dialog showed"); } }