| 1310 | } |
| 1311 | |
| 1312 | void PriestPlaySoundAtNode(int node) { |
| 1313 | if (node < 0 || node > 16) { |
| 1314 | if (Var_PriestPuzzleCurrSoundNode != -1) { |
| 1315 | mprintf(0, "!!!!!!!!!!!!STOPPING SOUND (%x)!!!!!!!!!!!!!!!\n", DummyObject); |
| 1316 | // OUTaSoundStopObj(DummyObject); |
| 1317 | Var_PriestPuzzleCurrSoundNode = -1; |
| 1318 | } |
| 1319 | } else { |
| 1320 | // not all the time...only when it needs to |
| 1321 | if (Var_PriestPuzzleCurrSoundNode == -1) { |
| 1322 | mprintf(0, "!!!!!!!!!!!!STARTING SOUND(%d,%x)!!!!!!!!!!!!!!!\n", PriestClueSound, DummyObject); |
| 1323 | // OUTaSoundPlayObject(PriestClueSound,DummyObject,1.0f); |
| 1324 | } |
| 1325 | Var_PriestPuzzleCurrSoundNode = node; |
| 1326 | } |
| 1327 | PriestMoveDummy(node); |
| 1328 | } |
| 1329 | |
| 1330 | /**{CUSTOM_SCRIPT_BLOCK_END}**** DO NOT EDIT! **/ |
| 1331 | // ============================================================ |
no test coverage detected