diff options
author | Chuck Miller <shadowmil@gmail.com> | 2009-06-23 20:30:29 -0400 |
---|---|---|
committer | Chuck Miller <shadowmil@gmail.com> | 2009-06-23 20:30:29 -0400 |
commit | 4f3a8268f69650e431cb0496d9903e7a02b609f0 (patch) | |
tree | 6104a34c194df218f4e929e0ebbc2e949b1e6487 /src/being.cpp | |
parent | 4d4b94192c1883b29eed4f3389422a0b0f930bef (diff) | |
download | mana-client-4f3a8268f69650e431cb0496d9903e7a02b609f0.tar.gz mana-client-4f3a8268f69650e431cb0496d9903e7a02b609f0.tar.bz2 mana-client-4f3a8268f69650e431cb0496d9903e7a02b609f0.tar.xz mana-client-4f3a8268f69650e431cb0496d9903e7a02b609f0.zip |
Made so monster particle effects show up on eA
I also removed Being::handleAttack() and Monster::handleAttack() for TMWserv since they are not used
Diffstat (limited to 'src/being.cpp')
-rw-r--r-- | src/being.cpp | 8 |
1 files changed, 2 insertions, 6 deletions
diff --git a/src/being.cpp b/src/being.cpp index 657e2236..85095804 100644 --- a/src/being.cpp +++ b/src/being.cpp @@ -352,15 +352,10 @@ void Being::takeDamage(Being *attacker, int amount, AttackType type) } } -#ifdef TMWSERV_SUPPORT -void Being::handleAttack() -#else void Being::handleAttack(Being *victim, int damage, AttackType type) -#endif { if (this != player_node) - setAction(Being::ATTACK); -#ifdef EATHENA_SUPPORT + setAction(Being::ATTACK, 1); if (getType() == PLAYER && victim) { if (mEquippedWeapon && mEquippedWeapon->getAttackType() == ACTION_ATTACK_BOW) @@ -379,6 +374,7 @@ void Being::handleAttack(Being *victim, int damage, AttackType type) } } } +#ifdef EATHENA_SUPPORT mFrame = 0; mWalkTime = tick_time; #endif |