mirror of
https://port.numenaute.org/aleajactaest/khanat-opennel-code.git
synced 2024-11-25 16:46:17 +00:00
Merge with develop
--HG-- branch : compatibility-develop
This commit is contained in:
commit
624a0c867b
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