mirror of
https://github.com/panda3d/panda3d.git
synced 2025-10-03 18:31:55 -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;
|
si=ib.first;
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
most_recently_used((*si).first);
|
|
||||||
// Create an AudioSound from the sound:
|
// Create an AudioSound from the sound:
|
||||||
PT(AudioSound) audioSound = 0;
|
PT(AudioSound) audioSound = 0;
|
||||||
if (audio) {
|
if (audio) {
|
||||||
|
most_recently_used((*si).first);
|
||||||
PT(MilesAudioSound) milesAudioSound
|
PT(MilesAudioSound) milesAudioSound
|
||||||
=new MilesAudioSound(this, audio, (*si).first);
|
=new MilesAudioSound(this, audio, (*si).first);
|
||||||
nassertr(milesAudioSound, 0);
|
nassertr(milesAudioSound, 0);
|
||||||
|
Loading…
x
Reference in New Issue
Block a user