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, greerga@circlemud.org | Genius may have its limitations, but
http://mouse.van.ml.org/   (mostly) | stupidity is not thus handicapped.
http://www.van.ml.org/CircleMUD/    |                  -- Elbert Hubbard


     +------------------------------------------------------------+
     | 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/15/00 PST