Permalink
Browse files

Same

  • Loading branch information...
SupSuper committed Dec 31, 2018
1 parent 6cf7754 commit a45453fd8fc5a1b70f971d122f2252983a4f013a
Showing with 2 additions and 3 deletions.
  1. +1 −2 src/Mod/RuleUfo.cpp
  2. +1 −1 src/Mod/RuleUfo.h
@@ -28,7 +28,7 @@ namespace OpenXcom
* type of UFO.
* @param type String defining the type.
*/
RuleUfo::RuleUfo(const std::string &type) : _type(type), _size("STR_VERY_SMALL"), _sprite(-1), _marker(-1), _markerLand(-1), _markerCrash(-1), _damageMax(0), _speedMax(0), _accel(0),
RuleUfo::RuleUfo(const std::string &type) : _type(type), _size("STR_VERY_SMALL"), _sprite(-1), _marker(-1), _markerLand(-1), _markerCrash(-1), _damageMax(0), _speedMax(0),
_power(0), _range(0), _score(0), _reload(0), _breakOffTime(0), _sightRange(268), _missionScore(1), _battlescapeTerrainData(0)
{
}
@@ -65,7 +65,6 @@ void RuleUfo::load(const YAML::Node &node, Mod *mod)
}
_damageMax = node["damageMax"].as<int>(_damageMax);
_speedMax = node["speedMax"].as<int>(_speedMax);
_accel = node["accel"].as<int>(_accel);
_power = node["power"].as<int>(_power);
_range = node["range"].as<int>(_range);
_score = node["score"].as<int>(_score);
@@ -37,7 +37,7 @@ class RuleUfo
private:
std::string _type, _size;
int _sprite, _marker, _markerLand, _markerCrash;
int _damageMax, _speedMax, _accel, _power, _range, _score, _reload, _breakOffTime, _sightRange, _missionScore;
int _damageMax, _speedMax, _power, _range, _score, _reload, _breakOffTime, _sightRange, _missionScore;
RuleTerrain *_battlescapeTerrainData;
std::string _modSprite;
public:

0 comments on commit a45453f

Please sign in to comment.