* Exits the screen. * @param action Pointer to an action. */
| 129 | * @param action Pointer to an action. |
| 130 | */ |
| 131 | void ScannerState::exitClick(Action *) |
| 132 | { |
| 133 | if (Options::maximizeInfoScreens) |
| 134 | { |
| 135 | Screen::updateScale(Options::battlescapeScale, Options::battlescapeScale, Options::baseXBattlescape, Options::baseYBattlescape, true); |
| 136 | _game->getScreen()->resetDisplay(false); |
| 137 | } |
| 138 | _game->popState(); |
| 139 | } |
| 140 | |
| 141 | } |
nothing calls this directly
no test coverage detected