I think your problem is here:
Quote:
Originally Posted by Celiend
Code:
/* Hurt the monster */
if(monster_is_undead)
{
|
You need
Code:
if(monster_is_undead(mon))
Currently the if statement always evaluates true because the statement in parentheses is non-zero (it has to be, because the function exists); you want the return value of the function called with "mon" as the argument.