| 86 | } |
| 87 | |
| 88 | void NPCS_SndTablePrepare(NPCSndTrax* trax) |
| 89 | { |
| 90 | while (trax->typ_sound != NPC_STYP_LISTEND) |
| 91 | { |
| 92 | U32 sound_hash = xStrHash(trax->nam_sound); |
| 93 | if (sound_hash != 0 && iSndLookup(sound_hash) != NULL) |
| 94 | { |
| 95 | trax->aid_sound = sound_hash; |
| 96 | } |
| 97 | else |
| 98 | { |
| 99 | trax->aid_sound = 0; |
| 100 | } |
| 101 | trax++; |
| 102 | } |
| 103 | } |
| 104 | |
| 105 | NPCSndProp* NPCS_SndFindProps(en_NPC_SOUND sndtype) |
| 106 | { |
no test coverage detected