The Dink Network

hurt(¤t_sprite, x) stops script?

March 5th 2006, 02:57 AM
duck.gif
wesley
Peasant He/Him United States
 
Anyone shed any insight as to why when I have hurt(&current_sprite, 2); inside a custom procedure that the script stops? If I comment the line out, it works fine, but if it is uncommented, the script stops upon hurting the sprite
March 5th 2006, 07:39 AM
custom_magicman.gif
magicman
Peasant They/Them Netherlands duck
Mmmm, pizza. 
I had trouble with hurt() a while ago, especially with hurt(&current_sprite,#);

It so happens that hurt(&sp,#) calls the hit() proc of &sp. There might be something there.