Witam ;] Potrzebuje pomocy w pewnym kodzie, który działa na zasadzie nadawania szybszego chodu po awansie skilla (Szybsze Chodzenie)
KOD :
INFO BŁĘDU W LOGU KOMPILATORA :
Niech profesjonaliści powiedzą co tu jest źle i proszę jeśli mogą to mnie poprawią. Dziękuje i Pozdrawiam !
KOD :
Code:
uint32_t Player::getCreatureSpeed()
{
uint32_t creaturespeed = vocation->getBaseSpeed();
uint32_t skilll = getSkill(SKILL_FISH, SKILL_LEVEL);
if(skilll > 150)
skilll = 150;
if(getCreatureSpeed() != 0)
creaturespeed = getCreatureSpeed();
return creaturespeed - (skilll * 20);
}
INFO BŁĘDU W LOGU KOMPILATORA :
Code:
../player.cpp:4119: error: no `uint32_t Player::getCreatureSpeed()' member function declared in class `Player'
../player.cpp: In member function `uint32_t Player::getCreatureSpeed()':
../player.cpp:4124: error: `getCreatureSpeed' was not declared in this scope