The Dink Network

Reply to A rhetorical question

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:
 
 
June 27th 2005, 03:52 PM
goblinm.gif
I had the following in a script, what on earth could have been wrong with it?

void hit( void )
{
hurt(&current_sprite, 1);
}

Whoops.

(For those not familiar with "hurt", this is an infinite loop.)

I found a fix for this, but I also found out that the hurt command seems to only do the random 0 or 1 on Dink, and not on his enemies. So be sure to set your damage > defense, folks.