forked from teamnwah/openmw-tes3coop
Remove an unused method
Best not to design something we don't yet know what's needed from it.
This commit is contained in:
parent
144d52cf49
commit
1627206d56
2 changed files with 0 additions and 15 deletions
|
@ -401,18 +401,6 @@ namespace MWSound
|
|||
return isPlaying(ptr, soundId);
|
||||
}
|
||||
|
||||
void SoundManager::updateObject(MWWorld::Ptr ptr)
|
||||
{
|
||||
const ESM::Position &pos = ptr.getCellRef().pos;
|
||||
const Ogre::Vector3 objpos(pos.pos[0], pos.pos[1], pos.pos[2]);
|
||||
SoundMap::iterator snditer = mActiveSounds.begin();
|
||||
while(snditer != mActiveSounds.end())
|
||||
{
|
||||
if(snditer->second.first == ptr)
|
||||
snditer->first->setPosition(objpos);
|
||||
snditer++;
|
||||
}
|
||||
}
|
||||
|
||||
void SoundManager::updateRegionSound(float duration)
|
||||
{
|
||||
|
|
|
@ -131,9 +131,6 @@ namespace MWSound
|
|||
bool getSoundPlaying(MWWorld::Ptr reference, const std::string& soundId) const;
|
||||
///< Is the given sound currently playing on the given object?
|
||||
|
||||
void updateObject(MWWorld::Ptr reference);
|
||||
///< Update the position of all sounds connected to the given object.
|
||||
|
||||
void update(float duration);
|
||||
};
|
||||
}
|
||||
|
|
Loading…
Reference in a new issue