| 172 | } |
| 173 | |
| 174 | static void xSFXUpdate(xSFX* t) |
| 175 | { |
| 176 | if ((t->asset->flagsSFX & 0x800) && (t->sndID) && |
| 177 | (!xSndIDIsPlaying(t->sndID))) |
| 178 | { |
| 179 | t->sndID = 0; |
| 180 | t->asset->flagsSFX = t->asset->flagsSFX & 0xefff; |
| 181 | zEntEvent(t, t, 0xbf); |
| 182 | } |
| 183 | } |
| 184 | |
| 185 | S32 xSFXEventCB(xBase* to, xBase* from, U32 toEvent, const F32* toParam, xBase* toParamWidget) |
| 186 | { |
no test coverage detected