Skip to content

Commit 28db66e

Browse files
committed
Merge pull request OpenXcom#622 from redv/fix_dogfight
Fix: Bug report OpenXcom#237 - Interceptor can never enter air combat again, when game was saved while in air combat
2 parents 2c38196 + dea48c3 commit 28db66e

1 file changed

Lines changed: 0 additions & 3 deletions

File tree

‎src/Savegame/Craft.cpp‎

Lines changed: 0 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -165,7 +165,6 @@ void Craft::load(const YAML::Node &node, const Ruleset *rule, SavedGame *save)
165165
_status = node["status"].as<std::string>(_status);
166166
_lowFuel = node["lowFuel"].as<bool>(_lowFuel);
167167
_inBattlescape = node["inBattlescape"].as<bool>(_inBattlescape);
168-
_inDogfight = node["inDogfight"].as<bool>(_inDogfight);
169168
_interceptionOrder = node["interceptionOrder"].as<int>(_interceptionOrder);
170169
if (const YAML::Node name = node["name"])
171170
{
@@ -209,8 +208,6 @@ YAML::Node Craft::save() const
209208
node["lowFuel"] = _lowFuel;
210209
if (_inBattlescape)
211210
node["inBattlescape"] = _inBattlescape;
212-
if (_inDogfight)
213-
node["inDogfight"] = _inDogfight;
214211
node["interceptionOrder"] = _interceptionOrder;
215212
if (!_name.empty())
216213
node["name"] = Language::wstrToUtf8(_name);

0 commit comments

Comments
 (0)