================ idThread::Event_Spawn ================ */
| 1149 | ================ |
| 1150 | */ |
| 1151 | void idThread::Event_Spawn( const char *classname ) { |
| 1152 | idEntity *ent; |
| 1153 | |
| 1154 | spawnArgs.Set( "classname", classname ); |
| 1155 | gameLocal.SpawnEntityDef( spawnArgs, &ent ); |
| 1156 | ReturnEntity( ent ); |
| 1157 | spawnArgs.Clear(); |
| 1158 | } |
| 1159 | |
| 1160 | /* |
| 1161 | ================ |
nothing calls this directly
no test coverage detected