diff options
author | Erik Schilling <ablu.erikschilling@googlemail.com> | 2013-08-18 19:34:41 +0200 |
---|---|---|
committer | Erik Schilling <ablu.erikschilling@googlemail.com> | 2013-08-26 22:56:47 +0200 |
commit | b379c150cedfbae4775c8358369ec590ad4033f4 (patch) | |
tree | 02c0abc19113d119e16ef304f7d6022f74fbf21e /src/game-server/being.cpp | |
parent | 8f4acdeaf7dbb6a2cf8b10198d92b4f9894f1ef6 (diff) | |
download | manaserv-b379c150cedfbae4775c8358369ec590ad4033f4.tar.gz manaserv-b379c150cedfbae4775c8358369ec590ad4033f4.tar.bz2 manaserv-b379c150cedfbae4775c8358369ec590ad4033f4.tar.xz manaserv-b379c150cedfbae4775c8358369ec590ad4033f4.zip |
Unshared the serialization of characters
This getting annoying while trying to do multiple changes.
Types/structures had to be shared all the time making it nessecary to
find ugly workarounds.
Diffstat (limited to 'src/game-server/being.cpp')
-rw-r--r-- | src/game-server/being.cpp | 7 |
1 files changed, 0 insertions, 7 deletions
diff --git a/src/game-server/being.cpp b/src/game-server/being.cpp index b49e3cba..9b45608c 100644 --- a/src/game-server/being.cpp +++ b/src/game-server/being.cpp @@ -405,13 +405,6 @@ double BeingComponent::getModifiedAttribute(unsigned id) const return ret->second.getModifiedAttribute(); } -void BeingComponent::setModAttribute(unsigned, double) -{ - // No-op to satisfy shared structure. - // The game-server calculates this manually. - return; -} - void BeingComponent::recalculateBaseAttribute(Entity &entity, unsigned attr) { LOG_DEBUG("Being: Received update attribute recalculation request for " |