EVENT_DE.C

LIB3/STD/TRIGGER/EVENT_DE.C · 297 B

From the archive nm4dos.zip

Download the archive   « Back to the archive contents

int     event_death( object ob, object *obs )
{
    mixed  *bit;
    int     i, ret;

    bit = (mixed *)this_object()->query_actions( "event_death" );
    for( i = 0; i < sizeof( bit ); i += 2 )
	catch( ret += (int)call_other( bit[ i + 1 ][ 0 ], bit[ i + 1 ][ 1 ], ob, obs ) );
    return ret;
}

Site Stats

Snippets: 1791
Codebases: 571