Browse Source

Fix crash loading null audio manager

rdb 9 years ago
parent
commit
9b5ff08011
1 changed files with 1 additions and 1 deletions
  1. 1 1
      panda/src/audio/audioManager.cxx

+ 1 - 1
panda/src/audio/audioManager.cxx

@@ -71,7 +71,7 @@ PT(AudioManager) AudioManager::create_AudioManager() {
       if (handle == (void *)NULL) {
         audio_error("  load_dso(" << dl_name << ") failed, will use NullAudioManager");
         audio_error("    "<<load_dso_error());
-        nassertr(_create_AudioManager == create_NullAudioManager, NULL);
+        nassertr(_create_AudioManager == NULL, NULL);
       } else {
         // Get the special function from the dso, which should return the
         // AudioManager factory function.