The Dink Network

Reply to kill_game() in hit proc

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:
 
 
April 8th 2010, 07:02 AM
dinkdead.gif
kill_game or crash_game?

This:
void hit (void)
{
  kill_game();
}

causes the game to exit (which is good) but I get the usual crash error "dink has encountered an error and needs to close. Send error report?" and the midi carries on playing until the dink.exe process is killed.

I accidently found out that a wait fixes this...
void hit (void)
{
  wait(1);
  kill_game();
}

Works fine. It also works if it's talk instead of hit (without the wait).

Strange. Something to do with the animation maybe??

Edit: It works in FreeDink! Just not in normal or Aural+.