MCPcopy Create free account
hub / github.com/bfbbdecomp/bfbb / SndIsAnyPlaying

Method SndIsAnyPlaying

src/SB/Game/zNPCTypeCommon.cpp:3176–3187  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

3174}
3175
3176S32 zNPCCommon::SndIsAnyPlaying()
3177{
3178 S32 owner = (S32)this;
3179 S32 yep;
3180 for (S32 i = 0; i < 4; i++)
3181 {
3182 yep = xSndIsPlaying(0, owner + i);
3183 if (yep != 0)
3184 break;
3185 }
3186 return yep;
3187}
3188
3189S32 zNPCCommon::SndChanIsBusy(S32 flg_chan)
3190{

Callers 1

ProcessMethod · 0.80

Calls 1

xSndIsPlayingFunction · 0.70

Tested by

no test coverage detected