Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- player.cpp: In member function ‘virtual void Player::dropLoot(Container*)’:
- player.cpp:790:3: error: expected ‘,’ or ‘;’ before ‘uint32_t’
- uint32_t tmp = random_range(1, 2);
- ^
- player.cpp:793:69: error: ‘tmp’ was not declared in this scope
- if((skull > SKULL_BLACK || (item->getContainer() && tmp == tmp_2) || (!item->getContainer() && tmp == tmp_2) || (amount == 0)) && amount < 5)
- ^
- player.cpp: In member function ‘virtual void Player::doAttacking(uint32_t)’:
- player.cpp:3384:85: warning: comparison between signed and unsigned integer expressions [-Wsign-compare]
- else if((OTSYS_TIME() - lastAttack) < getAttackSpeed() || lastAttack >= OTSYS_TIME())
- ^
- make[1]: *** [player.o] Error 1
- make[1]: *** Waiting for unfinished jobs....
- mv -f .deps/talkaction.Tpo .deps/talkaction.Po
- otserv.cpp: In function ‘void otserv(StringVec, ServiceManager*)’:
- otserv.cpp:704:7: warning: variable ‘owned’ set but not used [-Wunused-but-set-variable]
- bool owned = false;
- ^
- mv -f .deps/otserv.Tpo .deps/otserv.Po
- make[1]: Leaving directory `/home/EvoSource'
- make: *** [all] Error 2
- willo2353458@dmc1308:/home/EvoSource$
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement