* Logs a emergency savegame */
| 350 | * Logs a emergency savegame |
| 351 | */ |
| 352 | void Gamelog::Emergency() |
| 353 | { |
| 354 | /* Terminate any active action */ |
| 355 | if (this->action_type != GLAT_NONE) this->StopAction(); |
| 356 | this->StartAction(GLAT_EMERGENCY); |
| 357 | this->Change(std::make_unique<LoggedChangeEmergencySave>()); |
| 358 | this->StopAction(); |
| 359 | } |
| 360 | |
| 361 | /** |
| 362 | * Finds out if current game is a loaded emergency savegame. |
no test coverage detected