| 874 | } |
| 875 | |
| 876 | zNPCSpawner* zNPCPrawn::make_spawner(S32 i) |
| 877 | { |
| 878 | zNPCSpawner* spawner = this->spawner[i]; |
| 879 | if (spawner != NULL) |
| 880 | { |
| 881 | return spawner; |
| 882 | } |
| 883 | this->spawner[i] = zNPCSpawner_GetInstance(); |
| 884 | this->spawner[i]->Subscribe(this); |
| 885 | this->spawner[i]->SetWaveMode(SM_WAVE_CONTINUOUS, tweak.spawn_delay, -1); |
| 886 | return this->spawner[i]; |
| 887 | } |
| 888 | |
| 889 | void zNPCPrawn::update_particles(float) |
| 890 | { |
nothing calls this directly
no test coverage detected