mirror of
https://port.numenaute.org/aleajactaest/khanat-opennel-code.git
synced 2024-11-10 01:09:50 +00:00
Changed: Remove dead code
--HG-- branch : develop
This commit is contained in:
parent
0236b3e4a4
commit
b446df86f0
1 changed files with 2 additions and 14 deletions
|
@ -2322,14 +2322,8 @@ REGISTER_ACTION_HANDLER( CHandlerRingXpCatalyserStopUse, "ring_xp_catalyser_stop
|
||||||
// item groups
|
// item groups
|
||||||
class CHandlerItemGroupMove : public IActionHandler
|
class CHandlerItemGroupMove : public IActionHandler
|
||||||
{
|
{
|
||||||
void execute (CCtrlBase *caller, const std::string &sParams)
|
void execute (CCtrlBase * /* pCaller */, const std::string &sParams)
|
||||||
{
|
{
|
||||||
CDBCtrlSheet* pCS = dynamic_cast<CDBCtrlSheet*>(caller);
|
|
||||||
if(!pCS)
|
|
||||||
{
|
|
||||||
nlinfo("Wrong cast");
|
|
||||||
return;
|
|
||||||
}
|
|
||||||
std::string destination = getParam(sParams, "destination");
|
std::string destination = getParam(sParams, "destination");
|
||||||
std::string name = getParam(sParams, "name");
|
std::string name = getParam(sParams, "name");
|
||||||
if(name.empty())
|
if(name.empty())
|
||||||
|
@ -2347,14 +2341,8 @@ REGISTER_ACTION_HANDLER(CHandlerItemGroupMove, "item_group_move");
|
||||||
// ***************************************************************************
|
// ***************************************************************************
|
||||||
class CHandlerItemGroupEquip : public IActionHandler
|
class CHandlerItemGroupEquip : public IActionHandler
|
||||||
{
|
{
|
||||||
void execute (CCtrlBase *caller, const std::string & sParams)
|
void execute (CCtrlBase * /* pCaller */, const std::string & sParams)
|
||||||
{
|
{
|
||||||
CDBCtrlSheet* pCS = dynamic_cast<CDBCtrlSheet*>(caller);
|
|
||||||
if(!pCS)
|
|
||||||
{
|
|
||||||
nlinfo("Wrong cast");
|
|
||||||
return;
|
|
||||||
}
|
|
||||||
std::string name = getParam(sParams, "name");
|
std::string name = getParam(sParams, "name");
|
||||||
if(name.empty())
|
if(name.empty())
|
||||||
{
|
{
|
||||||
|
|
Loading…
Reference in a new issue