else
target_music_sendto(MSG_INIT, 0);
}
+void TargetMusic_RestoreGame()
+{
+ for(self = world; (self = find(self, classname, "target_music")); )
+ {
+ if(self.targetname == "")
+ target_music_sendto(MSG_INIT, 1);
+ else
+ target_music_sendto(MSG_INIT, 0);
+ }
+}
// values:
// volume
// noise
float trigger_music_SendEntity(entity to, float sf)
{
WriteByte(MSG_ENTITY, ENT_CLIENT_TRIGGER_MUSIC);
- sf &~= 0x80;
+ sf &= ~0x80;
if(self.cnt)
sf |= 0x80;
WriteByte(MSG_ENTITY, sf);