summaryrefslogtreecommitdiff
path: root/src/game-server/being.cpp
diff options
context:
space:
mode:
authorJared Adams <jaxad0127@gmail.com>2011-01-30 21:29:21 -0700
committerJared Adams <jaxad0127@gmail.com>2011-01-30 21:29:21 -0700
commit19d140fb6989ada459b0a71ec3bf5647ff93bec2 (patch)
tree680340ea0e645c90a89d972bbfc4801007a31644 /src/game-server/being.cpp
parent6a3e510e4b40fcb1554cdd57e7ddc49edd89fa3f (diff)
downloadmanaserv-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.cpp5
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))
{