| 731 | } |
| 732 | |
| 733 | bool BattleMapSectorTiles::loadSector(GameState &state, const UString &path) |
| 734 | { |
| 735 | |
| 736 | auto archive = SerializationArchive::readArchive(path); |
| 737 | if (!archive) |
| 738 | { |
| 739 | LogError("Failed to read \"%s\"", path); |
| 740 | return false; |
| 741 | } |
| 742 | |
| 743 | return deserialize(*this, state, archive.get()); |
| 744 | } |
| 745 | |
| 746 | } // namespace OpenApoc |
no test coverage detected