| 846 | } |
| 847 | |
| 848 | void zNPCPrawn::decompose() |
| 849 | { |
| 850 | S32 spawnerIndex; |
| 851 | zNPCSpawner* spawner; |
| 852 | vanish(); |
| 853 | |
| 854 | if (this->fighting != 0) |
| 855 | { |
| 856 | this->fighting = 0; |
| 857 | set_floor_state(FS_SAFE, TRUE, TRUE); |
| 858 | hide_model(); |
| 859 | spawnerIndex = 0; |
| 860 | |
| 861 | do |
| 862 | { |
| 863 | spawner = this->spawner[spawnerIndex]; |
| 864 | if (spawner != NULL) |
| 865 | { |
| 866 | spawner->Notify(SM_NOTE_DUPDEAD, NULL); |
| 867 | spawner->Notify(SM_NOTE_KILLKIDS, NULL); |
| 868 | } |
| 869 | spawnerIndex++; |
| 870 | } while (spawnerIndex < sizeof(this->spawner) / sizeof(*this->spawner)); |
| 871 | zCameraEnableTracking(CO_BOSS); |
| 872 | boss_cam.stop(); |
| 873 | } |
| 874 | } |
| 875 | |
| 876 | zNPCSpawner* zNPCPrawn::make_spawner(S32 i) |
| 877 | { |
no test coverage detected