Commit bf0e7f65 authored by deed's avatar deed

correction du merge sur la partie server

parent 2794a694
......@@ -3140,10 +3140,6 @@ void CBankAccessor_PLR::TPACK_ANIMAL::TBEAST::init(ICDBStructNode *parent, uint
nlassert(node != NULL);
_DESPAWN = node;
node = parent->getNode( ICDBStructNode::CTextId("NAME"), false );
nlassert(node != NULL);
_NAME = node;
// WARNING: let the value to true, else it'll corrupt backups
node = parent->getNode( ICDBStructNode::CTextId("NAME"), true );
nlassert(node != NULL);
......
......@@ -829,13 +829,6 @@ void CCharacter::moveItem(INVENTORIES::TInventory srcInvId, uint32 srcSlot, INVE
return;
}
// You cannot exchange genesis named items
if (srcItem->getPhraseId().find("genesis_") == 0 && !canPutNonDropableItemInInventory(dstInvId))
{
nlwarning("Character %s tries to move '%s' to inv %u", _Id.toString().c_str(), srcItem->getPhraseId().c_str(), dstInvId );
return;
}
// cannot move a pet animal ticket
if (srcForm->Family == ITEMFAMILY::PET_ANIMAL_TICKET)
return;
......
......@@ -602,27 +602,6 @@ public:
virtual void callback (const std::string &/* name */, NLNET::TServiceId /* id */) {}
};
//----------------------------------------------------------------------------
// AIS -> EGS ais change creature Max HP
//----------------------------------------------------------------------------
class CChangeCreatureMaxHPMsg : public CMirrorTransportClass
{
public:
std::vector<TDataSetRow> Entities;
std::vector<uint32> MaxHp;
std::vector<uint8> SetFull;
virtual void description ()
{
className ("CChangeCreatureMaxHPMsg");
propertyCont ("Entities", PropDataSetRow, Entities);
propertyCont ("MaxHp", PropUInt32, MaxHp);
propertyCont ("SetFull", PropUInt8, SetFull);
}
virtual void callback (const std::string &/* name */, NLNET::TServiceId /* id */) {}
};
//----------------------------------------------------------------------------
// AIS -> EGS ais change creature Max ChaScore1
//----------------------------------------------------------------------------
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment