mirror of
https://foundry.openuru.org/gitblit/r/CWE-ou-minkata.git
synced 2025-07-17 10:52:46 +00:00
Fix more clang warnings.
This commit is contained in:
@ -785,6 +785,7 @@ void plAudioSystem::IUpdateSoftSounds( const hsPoint3 &newPosition )
|
||||
case plSound::kStreamFromDisk: color = plStatusLog::kYellow; break;
|
||||
case plSound::kStreamFromRAM: color = plStatusLog::kWhite; break;
|
||||
case plSound::kStreamCompressed: color = plStatusLog::kRed; break;
|
||||
default: break;
|
||||
}
|
||||
if(sound->GetType() == plgAudioSys::kVoice) color = 0xffff8800;
|
||||
if(sound->IsPropertySet(plSound::kPropIncidental)) color = 0xff00ffff;
|
||||
|
@ -190,10 +190,9 @@ plSoundEvent::Types plSoundEvent::GetTypeFromCallbackMsg( plEventCallbackMsg *ms
|
||||
switch( msg->fEvent )
|
||||
{
|
||||
case ::kStart: return kStart;
|
||||
case ::kTime: return kTime;
|
||||
case ::kStop: return kStop;
|
||||
case ::kLoop: return kLoop;
|
||||
case ::kTime: return kTime;
|
||||
case ::kStop: return kStop;
|
||||
case ::kLoop: return kLoop;
|
||||
default: return kStop;
|
||||
}
|
||||
|
||||
return kStop;
|
||||
}
|
||||
}
|
||||
|
Reference in New Issue
Block a user