summaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
Diffstat (limited to 'src')
-rw-r--r--src/game-server/being.cpp1
-rw-r--r--src/game-server/monster.cpp1
2 files changed, 0 insertions, 2 deletions
diff --git a/src/game-server/being.cpp b/src/game-server/being.cpp
index 7f3dda6f..1e54853d 100644
--- a/src/game-server/being.cpp
+++ b/src/game-server/being.cpp
@@ -535,7 +535,6 @@ bool Being::recalculateBaseAttribute(unsigned int attr)
if (newBase != getAttribute(attr))
{
setAttribute(attr, newBase);
- updateDerivedAttributes(attr);
return true;
}
LOG_DEBUG("No changes to sync for attribute '" << attr << "'.");
diff --git a/src/game-server/monster.cpp b/src/game-server/monster.cpp
index 32df27a1..f7abd7b8 100644
--- a/src/game-server/monster.cpp
+++ b/src/game-server/monster.cpp
@@ -534,7 +534,6 @@ bool Monster::recalculateBaseAttribute(unsigned int attr)
if (newBase != getAttribute(attr))
{
setAttribute(attr, newBase);
- updateDerivedAttributes(attr);
return true;
}
LOG_DEBUG("No changes to sync for attribute '" << attr << "'.");