Code part looks like this:

             
       else
                
       if {IS_SET(ch->act,PLR_AUTODAMAGE))  
       {
         sprintf( buf1, "$n's %s %s $N%c",  attack, vp, 
punct );
         sprintf( buf2, "Your %s %s $N%c [%d]",  attack, 
vp, punct, dam );
         sprintf( buf3, "$n's %s %s you%c [%d]", attack, 
vp, punct, dam );
       }
   }
       

The compile error is:

bash-2.05$ make
gcc -Wall -O -ggdb -DNOCRYPT -DQMFIXES -c -o obj/fight.o 
fight.c
fight.c: In function `dam_message':
fight.c:2224: parse error before `else'
make: *** [obj/fight.o] Error 1
bash-2.05$ 

Any advice?

Reply via email to