diff options
author | Eugene Sandulenko | 2016-05-22 00:43:46 +0200 |
---|---|---|
committer | Eugene Sandulenko | 2016-05-22 00:45:05 +0200 |
commit | ad04376054f9734d81099b36b013478498364cb3 (patch) | |
tree | 955bb50341084fa5c1c384df31111c5c43cfa144 /engines/scumm/he/moonbase/ai_defenseunit.cpp | |
parent | 441f630ec53a2ece2f2afe46520cd73801069c5f (diff) | |
download | scummvm-rg350-ad04376054f9734d81099b36b013478498364cb3.tar.gz scummvm-rg350-ad04376054f9734d81099b36b013478498364cb3.tar.bz2 scummvm-rg350-ad04376054f9734d81099b36b013478498364cb3.zip |
SCUMM HE: Cleanup
Diffstat (limited to 'engines/scumm/he/moonbase/ai_defenseunit.cpp')
-rw-r--r-- | engines/scumm/he/moonbase/ai_defenseunit.cpp | 16 |
1 files changed, 8 insertions, 8 deletions
diff --git a/engines/scumm/he/moonbase/ai_defenseunit.cpp b/engines/scumm/he/moonbase/ai_defenseunit.cpp index 43223dda9b..f1f0251dc6 100644 --- a/engines/scumm/he/moonbase/ai_defenseunit.cpp +++ b/engines/scumm/he/moonbase/ai_defenseunit.cpp @@ -29,17 +29,17 @@ namespace Scumm { DefenseUnit::DefenseUnit() { - m_state = DUS_ON; + _state = DUS_ON; } DefenseUnit::DefenseUnit(DefenseUnit *inUnit) { - m_ID = inUnit->getID(); - m_pos.x = inUnit->getPosX(); - m_pos.y = inUnit->getPosY(); - m_distanceTo = inUnit->getDistanceTo(); - m_state = inUnit->getState(); - m_radius = inUnit->getRadius(); - m_armor = inUnit->getArmor(); + _id = inUnit->getID(); + _pos.x = inUnit->getPosX(); + _pos.y = inUnit->getPosY(); + _distanceTo = inUnit->getDistanceTo(); + _state = inUnit->getState(); + _radius = inUnit->getRadius(); + _armor = inUnit->getArmor(); } DefenseUnit::~DefenseUnit() { |