[SKILL]Retreat

From: Luca (wetwork@terra.com.br)
Date: 09/02/01


Hey,
        I'm having some difficulties in making a new skill for the Ranger Class.
I'm getting one warning that goes like this:

act.offensive.c: In function `do_retreat':
act.offensive.c:510: warning: passing arg 2 of `search_block' makes pointer
from
  integer without a cast

        And here's my code:

ACMD(do_retreat)
{
  int prob, percent, dir = 0;
  int retreat_type;

-- snip --

line 510:  retreat_type = search_block(argument + 1, dir, FALSE);

        Anyone can help me?
        Thanks,
                Luca.

--
   +---------------------------------------------------------------+
   | FAQ: http://qsilver.queensu.ca/~fletchra/Circle/list-faq.html |
   | Archives: http://post.queensu.ca/listserv/wwwarch/circle.html |
   +---------------------------------------------------------------+



This archive was generated by hypermail 2b30 : 12/06/01 PST