Advertisement
Guest User

Untitled

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