diff options
author | Jared Adams <jaxad0127@gmail.com> | 2011-01-30 21:29:21 -0700 |
---|---|---|
committer | Jared Adams <jaxad0127@gmail.com> | 2011-01-30 21:29:21 -0700 |
commit | 19d140fb6989ada459b0a71ec3bf5647ff93bec2 (patch) | |
tree | 680340ea0e645c90a89d972bbfc4801007a31644 /src/game-server/being.cpp | |
parent | 6a3e510e4b40fcb1554cdd57e7ddc49edd89fa3f (diff) | |
download | manaserv-19d140fb6989ada459b0a71ec3bf5647ff93bec2.tar.gz manaserv-19d140fb6989ada459b0a71ec3bf5647ff93bec2.tar.bz2 manaserv-19d140fb6989ada459b0a71ec3bf5647ff93bec2.tar.xz manaserv-19d140fb6989ada459b0a71ec3bf5647ff93bec2.zip |
Revert "Fixed the money handling."
This reverts commit b2209cbe93aa12dcd4e4e3b9a7cd8b13ed5713e9.
Money should be handled through attributes, not magic numbers.
Diffstat (limited to 'src/game-server/being.cpp')
-rw-r--r-- | src/game-server/being.cpp | 5 |
1 files changed, 0 insertions, 5 deletions
diff --git a/src/game-server/being.cpp b/src/game-server/being.cpp index a01126f0..c2228dcc 100644 --- a/src/game-server/being.cpp +++ b/src/game-server/being.cpp @@ -528,11 +528,6 @@ bool Being::recalculateBaseAttribute(unsigned int attr) // Provisional newBase = 2000.0 + getModifiedAttribute(ATTR_STR) * 180.0; break; - case ATTR_MONEY: - // Set the money to 0 if it was never set before. - if (getModifiedAttribute(ATTR_MONEY) < 0) - newBase = 0.0; - break; } if (newBase != getAttribute(attr)) { |