mirror of
https://github.com/panda3d/panda3d.git
synced 2025-10-03 02:15:43 -04:00
Remove assertion when reregistering the same AudioManager constructor
This commit is contained in:
parent
54819dbcde
commit
1b33fec978
@ -40,7 +40,7 @@ Create_AudioManager_proc *AudioManager::_create_AudioManager = NULL;
|
|||||||
|
|
||||||
void AudioManager::
|
void AudioManager::
|
||||||
register_AudioManager_creator(Create_AudioManager_proc* proc) {
|
register_AudioManager_creator(Create_AudioManager_proc* proc) {
|
||||||
nassertv(_create_AudioManager == NULL);
|
nassertv(_create_AudioManager == NULL || _create_AudioManager == proc);
|
||||||
_create_AudioManager = proc;
|
_create_AudioManager = proc;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
Loading…
x
Reference in New Issue
Block a user