Re: [SKILL]Retreat

From: Neal and Kristen (nlahndorff@earthlink.net)
Date: 09/02/01


Luca wrote:
>
> act.offensive.c:510: warning: passing arg 2 of `search_block' makes
> pointer from integer without a cast
>
> line 510:  retreat_type = search_block(argument + 1, dir, FALSE);

You want dirs, not dir.  Dir is an integer (Just like the warning
tells you) and dirs is the array of directions.

--
   +---------------------------------------------------------------+
   | 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