================ idThread::Event_Spawn ================ */
| 1117 | ================ |
| 1118 | */ |
| 1119 | void idThread::Event_Spawn( const char *classname ) { |
| 1120 | idEntity *ent; |
| 1121 | |
| 1122 | spawnArgs.Set( "classname", classname ); |
| 1123 | gameLocal.SpawnEntityDef( spawnArgs, &ent ); |
| 1124 | ReturnEntity( ent ); |
| 1125 | spawnArgs.Clear(); |
| 1126 | } |
| 1127 | |
| 1128 | /* |
| 1129 | ================ |
nothing calls this directly
no test coverage detected