From b35357cfcd58ac26d2f9d008a2db5b931cccb428 Mon Sep 17 00:00:00 2001 From: Andrei Karas Date: Wed, 1 Oct 2014 17:39:32 +0300 Subject: Move AGI stat from net enum into attributes. --- src/net/ea/playerhandler.cpp | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'src/net/ea/playerhandler.cpp') diff --git a/src/net/ea/playerhandler.cpp b/src/net/ea/playerhandler.cpp index afc459b38..96b8e6b23 100644 --- a/src/net/ea/playerhandler.cpp +++ b/src/net/ea/playerhandler.cpp @@ -370,7 +370,7 @@ void PlayerHandler::setStat(const int type, setStatComplex(EA_STR); break; case 0x000e: - setStatComplex(EA_AGI); + setStatComplex(Attributes::AGI); break; case 0x000f: setStatComplex(Attributes::VIT); @@ -458,7 +458,7 @@ void PlayerHandler::setStat(const int type, statusWindow->setPointsNeeded(EA_STR, base); break; case 0x0021: - statusWindow->setPointsNeeded(EA_AGI, base); + statusWindow->setPointsNeeded(Attributes::AGI, base); break; case 0x0022: statusWindow->setPointsNeeded(Attributes::VIT, base); -- cgit v1.2.3-60-g2f50