Fix - Bug status cu "-" Martysama v4

  • Autor subiect Petrinel
  • Dată creare
  • Răspunsuri: Răspunsuri 1
  • Vizualizări: Vizualizări 3K

Petrinel

Well-known member
29 Aug 2020
159
708
93
23
Falciu
Monede Dragon
0
Am atasat o poza cu bugul.

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.
 

Atașamente

  • F-r-titlu.png
    F-r-titlu.png
    73 KB · Vizualizări: 9
  • Like
Reacții: darius95