From a9f6959a96395edc64ff57bf5ba1d75cca8e86c3 Mon Sep 17 00:00:00 2001 From: Andrei Karas Date: Sat, 20 Feb 2016 21:19:59 +0300 Subject: Add missing const in net directory. --- src/net/eathena/skillrecv.cpp | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'src/net/eathena/skillrecv.cpp') diff --git a/src/net/eathena/skillrecv.cpp b/src/net/eathena/skillrecv.cpp index 3301543cd..66450cccc 100644 --- a/src/net/eathena/skillrecv.cpp +++ b/src/net/eathena/skillrecv.cpp @@ -220,7 +220,7 @@ void SkillRecv::processSkillFailed(Net::MessageIn &msg) localPlayer->stopAdvert(); } - SkillInfo *const info = skillDialog->getSkill(bskill); + const SkillInfo *const info = skillDialog->getSkill(bskill); if (info) { txt = info->errorText; @@ -233,7 +233,7 @@ void SkillRecv::processSkillFailed(Net::MessageIn &msg) } else { - SkillInfo *const info = skillDialog->getSkill(skillId); + const SkillInfo *const info = skillDialog->getSkill(skillId); if (info) { txt = info->errorText + "."; -- cgit v1.2.3-70-g09d2