- Katılım
- 22 Kas 2024
- Mesajlar
- 47
- Tepkime puanı
- 29
- Puanları
- 18
Kod:
shop.cpp:257:6: error: 'item' was not declared in this scope
257 | if (item->IsDragonSoul())
| ^~~~
shop.cpp:270:84: error: 'item' was not declared in this scope
270 | sys_log(1, "Shop::Buy at PC Shop : Inventory full : %s size %d", ch->GetName(), item->GetSize());
| ^~~~
shop.cpp:275:73: error: 'item' was not declared in this scope
275 | sys_log(1, "Shop::Buy : Inventory full : %s size %d", ch->GetName(), item->GetSize());
| ^~~~
shop.cpp:330:46: error: 'item' was not declared in this scope
330 | m_pkPC->SyncQuickslot(QUICKSLOT_TYPE_ITEM, item->GetCell(), 255);
| ^~~~
shop.cpp:367:7: error: 'item' was not declared in this scope
367 | if (item->IsDragonSoul())
| ^~~~
shop.cpp:371:45: error: 'item' was not declared in this scope
371 | ITEM_MANAGER::instance().FlushDelayedSave(item);
| ^~~~
shop.cpp:382:6: error: 'item' was not declared in this scope
382 | if (item)
| ^~~~
shop.cpp: At global scope:
shop.cpp:499:2: error: expected unqualified-id before 'if'
499 | if (ch->GetGold() < (int) dwPrice)
| ^~