char_item.cpp: In member function 'bool CHARACTER::UnequipItem(LPITEM)':
char_item.cpp:6889:2: error: expected '}' before 'else'
6889 | else if (item->IsSkillBook())
| ^~~~
char_item.cpp:6886:2: note: to match this '{'
6886 | {
| ^
char_item.cpp: At global scope:
char_item.cpp:6903:2: error: expected unqualified-id before 'else'
6903 | else
| ^~~~
char_item.cpp:6906:22: error: expected constructor, destructor, or type conversion before ';' token
6906 | CheckMaximumPoints();
| ^
char_item.cpp:6908:2: error: expected unqualified-id before 'return'
6908 | return true;
| ^~~~~~
char_item.cpp:6909:1: error: expected declaration before '}' token
6909 | }
| ^
char_item.cpp: In member function 'void CHARACTER::RemoveSpecifyTypeItem(BYTE, DWORD)':
char_item.cpp:7472:41: error: 'vnum' was not declared in this scope; did you mean 'enum'?
7472 | if (GetInventoryItem(i)->GetVnum() != vnum)
| ^~~~
| enum
char_item.cpp:7482:7: error: 'vnum' was not declared in this scope; did you mean 'enum'?
7482 | if (vnum >= 80003 && vnum <= 80007)
| ^~~~
| enum
char_item.cpp: In member function 'void CHARACTER::AutoGiveItem(LPITEM, bool)':
char_item.cpp:7556:3: error: expected '}' before 'else'
7556 | else if (item->IsSkillBook())
| ^~~~
char_item.cpp:7549:2: note: to match this '{'
7549 | {
| ^
char_item.cpp: At global scope:
char_item.cpp:7585:2: error: expected unqualified-id before 'else'
7585 | else
| ^~~~
char_item.cpp:7600:1: error: expected declaration before '}' token
7600 | }
| ^
char_item.cpp: In member function 'CItem* CHARACTER::AutoGiveItem(DWORD, BYTE, int, bool)':
char_item.cpp:7692:2: error: expected primary-expression before 'else'
7692 | else if (item->IsSkillBook())
| ^~~~
char_item.cpp:7696:2: error: 'else' without a previous 'if'
7696 | else if (item->IsUpgradeItem())
| ^~~~
char_item.cpp: In member function 'bool CHARACTER::CanUnequipNow(LPITEM, const TItemPos&, const TItemPos&)':
char_item.cpp:8695:3: error: expected primary-expression before 'else'
8695 | else if (item->IsSkillBook())
| ^~~~
char_item.cpp:8697:3: error: 'else' without a previous 'if'
8697 | else if (item->IsUpgradeItem())
| ^~~~