Re: [CODE]

From: Xual (
Date: 04/24/99

On Sat, 24 Apr 1999, Igor wrote:

> Hi all.
> Well, i've encountered a strange problem and don't know how to deal
> with it (since i've been taking some serious pause from the coding).
> While doing a new command and testing it, it seems to blind on
> char_data vict or victim. anything with that prefix is actually skipped
> The parametars are  :
>   struct char_data *victim;
>   one_argument(argument, buf);
> blah blah
>   so if i take GET_NAME(victim) it doesen't work...

It all depends on what you're doing in the blah blah blah bit...  If you
don't initialize victim, it will be null.


if (!(victim = get_char_vis(....)))

"Misery is boundless"
        -Xual the Torturer, on the Eve of the Sundering.

Danathara Online RPG

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

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