diff options
author | Chuck Miller <shadowmil@gmail.com> | 2009-10-03 10:59:43 -0400 |
---|---|---|
committer | Chuck Miller <shadowmil@gmail.com> | 2009-10-03 10:59:43 -0400 |
commit | f37a1dea9fde1b19eadd065ca0c1a86009f126ae (patch) | |
tree | ad906fc8433d67e0f5c73b1a264736d98d51ec56 | |
parent | 84bea0b72c36a27e3b39a0713aaf7b12d4df5a2a (diff) | |
download | manaserv-f37a1dea9fde1b19eadd065ca0c1a86009f126ae.tar.gz manaserv-f37a1dea9fde1b19eadd065ca0c1a86009f126ae.tar.bz2 manaserv-f37a1dea9fde1b19eadd065ca0c1a86009f126ae.tar.xz manaserv-f37a1dea9fde1b19eadd065ca0c1a86009f126ae.zip |
Fixed a line where anger was not added
-rw-r--r-- | src/game-server/monster.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/game-server/monster.cpp b/src/game-server/monster.cpp index 3caaac2e..af2bc7aa 100644 --- a/src/game-server/monster.cpp +++ b/src/game-server/monster.cpp @@ -386,7 +386,7 @@ void Monster::changeAnger(Actor *target, int amount) Being *t = static_cast< Being * >(target); if (mAnger.find(t) != mAnger.end()) { - mAnger[t] = amount; + mAnger[t] += amount; } else { |