From 319a0aefa87ff8b218c7620f085ee18defa1cada Mon Sep 17 00:00:00 2001 From: Cekis Date: Wed, 21 Jun 2023 17:33:49 -0700 Subject: [PATCH] Update CreatureObject.cpp --- .../library/serverGame/src/shared/object/CreatureObject.cpp | 1 - 1 file changed, 1 deletion(-) diff --git a/engine/server/library/serverGame/src/shared/object/CreatureObject.cpp b/engine/server/library/serverGame/src/shared/object/CreatureObject.cpp index 89fda6b5..7fcd53b9 100755 --- a/engine/server/library/serverGame/src/shared/object/CreatureObject.cpp +++ b/engine/server/library/serverGame/src/shared/object/CreatureObject.cpp @@ -14562,7 +14562,6 @@ bool CreatureObject::processExpertiseRequest(std::vector const &add //Check if the player has enough points for a skill of this tier int tree = ExpertiseManager::getExpertiseTree(s); int pointsInTree = getExpertisePointsSpentForPlayerInTree(tree); - int tier = ExpertiseManager::getExpertiseTier(s); if (pointsInTree < (tier - 1) * POINTS_PER_TIER) { LOG("CustomerService", ("SuspectedCheaterChannel: %s tried to get expertise %s but only has %d points in tree %d, needs %d", PlayerObject::getAccountDescription(this).c_str(), s.c_str(), pointsInTree, tree, (tier - 1) * POINTS_PER_TIER));