The Dink Network

Reply to Re: Command crashes Dink

If you don't have an account, just leave the password field blank.
Username:
Password:
Subject:
Antispam: Enter Dink Smallwood's last name (surname) below.
Formatting: :) :( ;( :P ;) :D >( : :s :O evil cat blood
Bold font Italic font hyperlink Code tags
Message:
 
 
December 24th 2004, 12:10 PM
spike.gif
Heh, sp_sound(&current_sprite, 0); seems to that... I feel myself a little stupid now. Something I find weird though, is that the following crashes Dink as well:

sp_disabled(&current_sprite, 1);
sp_brain(&current_sprite, 0);
int &pic = sp_pframe(&current_sprite, -1);
int &replica = create_sprite(&save_x, &save_y, 0, 449, &pic);

It doesn't matter though, it's better that the machine goes off when you hit it than stop at the last frame, it's just weird..