| 933 | } |
| 934 | |
| 935 | void zNPC_SNDPlay3D(_tageNPCSnd snd, xEnt* ent) |
| 936 | { |
| 937 | if (globals.cmgr) |
| 938 | return; |
| 939 | if (sNPCSndID[snd] != 0) |
| 940 | return; |
| 941 | if (sNPCSndFx[snd] == 0) |
| 942 | return; |
| 943 | |
| 944 | sNPCSndID[snd] = xSndPlay3D(sNPCSndFx[snd], sNPCSndFxVolume[snd], 0.0f, 0x80, 0, ent, 2.0f, |
| 945 | 15.0f, SND_CAT_GAME, 0.0f); |
| 946 | } |
| 947 | |
| 948 | void zNPC_SNDStop(_tageNPCSnd snd) |
| 949 | { |
no test coverage detected