* Restores the original display options. * @param action Pointer to an action. */
| 148 | * @param action Pointer to an action. |
| 149 | */ |
| 150 | void OptionsConfirmState::btnNoClick(Action *) |
| 151 | { |
| 152 | Options::switchDisplay(); |
| 153 | Options::save(); |
| 154 | _game->getScreen()->resetDisplay(); |
| 155 | _game->popState(); |
| 156 | OptionsBaseState::restart(_game, _origin); |
| 157 | } |
| 158 | |
| 159 | } |
nothing calls this directly
no test coverage detected