diff options
author | Thorbjørn Lindeijer <thorbjorn@lindeijer.nl> | 2010-02-07 10:54:03 +0100 |
---|---|---|
committer | Thorbjørn Lindeijer <thorbjorn@lindeijer.nl> | 2010-02-07 10:54:03 +0100 |
commit | 9d4162ccf4785e168ff9b8abf2c51bd13d633575 (patch) | |
tree | 8ea697903726b5c6bcd224f67e33c26746dd02eb /src/being.cpp | |
parent | 242e3bb8d92def67d5c30f2f2fd974cfb117ec04 (diff) | |
download | mana-9d4162ccf4785e168ff9b8abf2c51bd13d633575.tar.gz mana-9d4162ccf4785e168ff9b8abf2c51bd13d633575.tar.bz2 mana-9d4162ccf4785e168ff9b8abf2c51bd13d633575.tar.xz mana-9d4162ccf4785e168ff9b8abf2c51bd13d633575.zip |
Renamed TakedDamage to DamageTaken
Sounds a bit better.
Diffstat (limited to 'src/being.cpp')
-rw-r--r-- | src/being.cpp | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/src/being.cpp b/src/being.cpp index beed9c35..b56cb890 100644 --- a/src/being.cpp +++ b/src/being.cpp @@ -90,7 +90,7 @@ Being::Being(int id, int job, Map *map): mChildParticleEffects(&mStatusParticleEffects, false), mMustResetParticles(false), mX(0), mY(0), - mTakedDamage(0), + mDamageTaken(0), mUsedTargetCursor(NULL) { setMap(map); @@ -306,7 +306,7 @@ void Being::takeDamage(Being *attacker, int amount, AttackType type) { if (getType() == MONSTER) { - mTakedDamage += amount; + mDamageTaken += amount; updateName(); } @@ -959,7 +959,7 @@ void Being::showName() { if (config.getValue("showMonstersTakedDamage", false)) { - mDisplayName += ", " + toString(getTakedDamage()); + mDisplayName += ", " + toString(getDamageTaken()); } } |