Re: Problem with a manual spell

From: George (greerga@CIRCLEMUD.ORG)
Date: 09/20/98

On Sun, 20 Sep 1998, Chuck Carson wrote:

>For some reason, skip_spaces(&arg) is crashing and
>also giving me a compile time warning.

That's because manual spells don't have an 'arg' variable. :)

#define ASPELL(spellname) \
void    spellname(int level, struct char_data *ch, \
                  struct char_data *victim, struct obj_data *obj)

#define MANUAL_SPELL(spellname) spellname(level, caster, cvict, ovict);

George Greer, | Genius may have its limitations, but   (mostly) | stupidity is not thus handicapped.    |                  -- Elbert Hubbard

     | Ensure that you have read the CircleMUD Mailing List FAQ:  |
     | |

This archive was generated by hypermail 2b30 : 12/15/00 PST