a hair more debugging

This commit is contained in:
Cary Sandvig 2001-03-30 18:59:58 +00:00
parent 41359848c0
commit 756f72e0b7

View File

@ -17,7 +17,8 @@ TypeHandle AudioSound::_type_handle;
////////////////////////////////////////////////////////////////////
AudioSound::~AudioSound(void) {
if (audio_cat->is_debug())
audio_cat->debug() << "AudioSound destructor" << endl;
audio_cat->debug() << "AudioSound destructor (" << get_name() << ")"
<< endl;
AudioManager::stop(this);
(*_delstate)(_state);
}