mirror of
https://github.com/panda3d/panda3d.git
synced 2025-10-03 10:22:45 -04:00
moved most_recently_used() call
This commit is contained in:
parent
f057a225d5
commit
f7712d1e61
@ -219,10 +219,10 @@ get_sound(const string& file_name) {
|
||||
si=ib.first;
|
||||
}
|
||||
}
|
||||
most_recently_used((*si).first);
|
||||
// Create an AudioSound from the sound:
|
||||
PT(AudioSound) audioSound = 0;
|
||||
if (audio) {
|
||||
most_recently_used((*si).first);
|
||||
PT(MilesAudioSound) milesAudioSound
|
||||
=new MilesAudioSound(this, audio, (*si).first);
|
||||
nassertr(milesAudioSound, 0);
|
||||
|
Loading…
x
Reference in New Issue
Block a user