Advertisement
Guest User

Untitled

a guest
Jul 20th, 2019
108
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
C++ 0.90 KB | None | 0 0
  1. char_battle.cpp: In member function 'void CHARACTER::Dead(LPCHARACTER, bool)':
  2. char_battle.cpp:1282:27: error: 'const class CItem' has no member named 'GetSubtype'
  3.    if (pWeapon && pWeapon->GetSubtype() == COSTUME_WEAPON)
  4.                            ^
  5. char_battle.cpp:1284:27: error: passing 'const CItem' as 'this' argument of 'long int CItem::GetSocket(int)' discards qualifiers [-fpermissive]
  6.     if(pWeapon->GetSocket(1))
  7.                            ^
  8. char_battle.cpp:1286:47: error: passing 'const CItem' as 'this' argument of 'long int CItem::GetSocket(int)' discards qualifiers [-fpermissive]
  9.      pWeapon->SetSocket(2, pWeapon->GetSocket(2)+1);
  10.                                                ^
  11. char_battle.cpp:1286:50: error: passing 'const CItem' as 'this' argument of 'void CItem::SetSocket(int, long int, bool)' discards qualifiers [-fpermissive]
  12.      pWeapon->SetSocket(2, pWeapon->GetSocket(2)+1);
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement