Reply to Immunity to Certain Weapons?
If you don't have an account, just leave the password field blank.
I want an enemy to be immune to Dink's fists, and I've tried putting this in the hit() procedure:
if (&cur_weapon == 1)
{
hurt(¤t_sprite, 0);
}
But that didn't work. When I punch the enemy, the game just crashes, not even an error report.
Does anyone have any idea how I can make an enemy immune to Dink's fists?
if (&cur_weapon == 1)
{
hurt(¤t_sprite, 0);
}
But that didn't work. When I punch the enemy, the game just crashes, not even an error report.
Does anyone have any idea how I can make an enemy immune to Dink's fists?