Reply to Now pulling my hair out................
If you don't have an account, just leave the password field blank.
void die ()
{
int &hold = sp_editor_num(¤t_sprite);
if (&hold != 0)
editor_type(&hold, 1);
}
This is in a die proc. from the dink source, and it works well to kill off a sprite in the original, but when I use it in my dmod, the sprite always comes back. Can anyone tell my why?(please hurry, I have little hair to spare..)
<edit>
These are in editor placed sprites, not create_sprites
{
int &hold = sp_editor_num(¤t_sprite);
if (&hold != 0)
editor_type(&hold, 1);
}
This is in a die proc. from the dink source, and it works well to kill off a sprite in the original, but when I use it in my dmod, the sprite always comes back. Can anyone tell my why?(please hurry, I have little hair to spare..)
<edit>
These are in editor placed sprites, not create_sprites