diff options
author | Erik Schilling <ablu.erikschilling@googlemail.com> | 2013-04-06 21:36:50 +0200 |
---|---|---|
committer | Erik Schilling <ablu.erikschilling@googlemail.com> | 2013-04-11 13:43:00 +0200 |
commit | aa04597c5f8bb806996d604699fc8ebff6d53bdd (patch) | |
tree | 20e6a79a873605b62c80011fd5c80351f60df6fb /src/game-server/being.cpp | |
parent | d95fccfca8575d8fb06988e558a338e37776961a (diff) | |
download | manaserv-aa04597c5f8bb806996d604699fc8ebff6d53bdd.tar.gz manaserv-aa04597c5f8bb806996d604699fc8ebff6d53bdd.tar.bz2 manaserv-aa04597c5f8bb806996d604699fc8ebff6d53bdd.tar.xz manaserv-aa04597c5f8bb806996d604699fc8ebff6d53bdd.zip |
Converted the Character class into a component
A CharacterData was created as a proxy class in order to allow using the
old serialization method.
Diffstat (limited to 'src/game-server/being.cpp')
-rw-r--r-- | src/game-server/being.cpp | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/src/game-server/being.cpp b/src/game-server/being.cpp index 2237f6a6..b50a5fac 100644 --- a/src/game-server/being.cpp +++ b/src/game-server/being.cpp @@ -483,6 +483,8 @@ void Being::recalculateBaseAttribute(unsigned attr) void Being::updateDerivedAttributes(unsigned attr) { + signal_attribute_changed.emit(this, attr); + LOG_DEBUG("Being: Updating derived attribute(s) of: " << attr); // Handle default actions before handing over to the script engine |