had some problem with your updated version George.
for the line if((cmd<1) || !IS_MOVE(cmd)||AFF_FLAGGED(me,AFF_BLIND))
return (FALSE);
i got this error:
cfe: Error: spec_procs.c, line 818: Unacceptable operand of == or !=
if ((cmd<1)||!(cmd_info[(cmd)].command==do_move) ||
((((((guard)->char_specials.saved.affected_by)) & ( ( (1 << 0)))) )
!=0))
-----------------------------------------^
Any ideas?
--Angus
______________________________ Forward Header __________________________________
Subject: Re: Making directions easier to add to stock
Author: INTERNET:CIRCLE@post.queensu.ca at CSERVE
Date: 12/7/97 7:37 PM
>Not anything major, I just noticed this by chance myself, but theres a macro
>in interpreter.h called IS_MOVE(). It uses straight numbers, like so:
>
>#define IS_MOVE(cmdnum) (cmdnum >= 1 && cmdnum <= 6)
>The above number 6 should be changed to say NUM_OF_DIRS like so:
>#define IS_MOVE(cmdnum) (cmdnum >= 1 && cmdnum <= NUM_OF_DIRS)
I noticed that and we've already changed it to a more effective macro for
bpl13. (from memory)
#define IS_MOVE(cmdnum) (cmd_table[cmdnum].command == do_move)
+------------------------------------------------------------+
| Ensure that you have read the CircleMUD Mailing List FAQ: |
| http://democracy.queensu.ca/~fletcher/Circle/list-faq.html |
+------------------------------------------------------------+
This archive was generated by hypermail 2b30 : 12/08/00 PST