Am atasat o poza cu bugul.
Rezolvare:
Intrati in char_item.cpp din sursa game si cautati:
Bun acuma modificati in felul acesta:
Recompilati.
Rezolvare:
Intrati in char_item.cpp din sursa game si cautati:
Cod:
if (item1->EquipTo(this, bEquipCell))
{
item2->AddToCharacter(this, TItemPos(INVENTORY, bInvenCell));
item2->ModifyPoints(false);
ComputePoints();
}
else
{
sys_err("SwapItem cannot equip %s! item1 %s", item2->GetName(), item1->GetName());
}
Bun acuma modificati in felul acesta:
Cod:
if (item1->EquipTo(this, bEquipCell))
{
item2->AddToCharacter(this, TItemPos(INVENTORY, bInvenCell));
}
else
{
sys_err("SwapItem cannot equip %s! item1 %s", item2->GetName(), item1->GetName());
}
Recompilati.