DEATH.C
LIB3/STD/TRIGGER/DEATH.C · 289 B
From the archive nm4dos.zip
Download the archive « Back to the archive contents
int second_life()
{
mixed *bit;
int i, ret;
bit = (mixed *)this_object()->query_actions( "death" );
seteuid( getuid( this_object() ) );
for( i = 0; i < sizeof( bit ); i += 2 )
ret += (int)call_other( bit[ i + 1 ][ 0 ], bit[ i + 1 ][ 1 ] );
return ret;
}