From fec5bce5b6485aaee7cb31cb74cbb06aef2a8ebd Mon Sep 17 00:00:00 2001 From: Yohann Ferreira Date: Sun, 17 Apr 2011 14:11:42 +0200 Subject: Removed useless calls to updateDerivedAttributes(). The setAttribute() already takes care of updating them. Reviewed-by: Jaxad0127. --- src/game-server/monster.cpp | 1 - 1 file changed, 1 deletion(-) (limited to 'src/game-server/monster.cpp') diff --git a/src/game-server/monster.cpp b/src/game-server/monster.cpp index 32df27a..f7abd7b 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 << "'."); -- cgit