Browse Source

oops, silly typo

David Rose 20 years ago
parent
commit
2dfc813470
1 changed files with 1 additions and 1 deletions
  1. 1 1
      panda/src/audiotraits/fmodAudioManager.cxx

+ 1 - 1
panda/src/audiotraits/fmodAudioManager.cxx

@@ -873,7 +873,7 @@ load(const Filename& filename, size_t &size) const {
   }
   }
   
   
   PT(VirtualFile) audioFileHandle = vfs->get_file(binary_filename);
   PT(VirtualFile) audioFileHandle = vfs->get_file(binary_filename);
-  audioFile = audioFile->open_read_file(true);
+  audioFile = audioFileHandle->open_read_file(true);
 
 
   if (audioFile == (istream *)NULL) {
   if (audioFile == (istream *)NULL) {
     // Unable to open.
     // Unable to open.