Re: MOb Error

From: Del (caminturn@earthlink.net)
Date: 07/30/00


Implementer Operation Overlord wrote:
>
> Here is that file
>
> void interpret_espec(const char *keyword, const char *value, int i, int nr)
> {
>   int num_arg, matched = 0;
>
>   num_arg = atoi(value);
>
>   CASE("BareHandAttack") {
>     RANGE(0, 99);
>     mob_proto[i].mob_specials.attack_type = num_arg;
>   }
> {
>   int num_arg, matched = 0;
>
>   num_arg = atoi(value);
>
>   CASE("BareHandAttack") {
>     RANGE(0, 99);
>     mob_proto[i].mob_specials.attack_type = num_arg;
>   }
>     }
>
>   CASE("Str") {

am I missing something here, or is this messed up?

void interpret_espec(const char *keyword, const char *value, int i, int
nr)
{
  int num_arg, matched = 0;

  num_arg = atoi(value);

  CASE("BareHandAttack") {
    RANGE(0, 99);
    mob_proto[i].mob_specials.attack_type = num_arg;
  }

  CASE("Str") {


     +------------------------------------------------------------+
     | Ensure that you have read the CircleMUD Mailing List FAQ:  |
     |  http://qsilver.queensu.ca/~fletchra/Circle/list-faq.html  |
     +------------------------------------------------------------+



This archive was generated by hypermail 2b30 : 04/10/01 PDT