Fix apache/turrets not triggering their targets on death.
Fix apache not giving score upon kill. Fix monster trigger target crashing the server. Add "squadmaker" alias entity. Added plenty of keyvalues to monstermaker, similar to SC's squadmaker.
This commit is contained in:
@@ -163,6 +163,7 @@ monster_type_t monster_types[]=
|
||||
"info_node_air", FALSE,
|
||||
"monstermaker", FALSE, // Extra entities
|
||||
"ambient_music", FALSE,
|
||||
"squadmaker", FALSE, // Aliases
|
||||
"", FALSE
|
||||
};
|
||||
|
||||
@@ -1370,7 +1371,7 @@ void mmDispatchUse( void )
|
||||
if ( FNullEnt( caller ) ) caller = NULL;
|
||||
if ( FNullEnt( activator ) ) activator = NULL;
|
||||
|
||||
monsters[index].pMonster->Use( caller, activator, useType, flValue );
|
||||
monsters[index].pMonster->Use( activator, caller, useType, flValue );
|
||||
return;
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user