mirror of
https://github.com/OpenMW/openmw.git
synced 2025-02-03 19:45:34 +00:00
Make a function parameter const
This commit is contained in:
parent
c2611d035c
commit
033faba9c4
2 changed files with 2 additions and 2 deletions
|
@ -258,7 +258,7 @@ namespace MWSound
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
void SoundManager::stopSound(MWWorld::Ptr::CellStore *cell)
|
void SoundManager::stopSound(const MWWorld::Ptr::CellStore *cell)
|
||||||
{
|
{
|
||||||
// Remove all references to objects belonging to a given cell
|
// Remove all references to objects belonging to a given cell
|
||||||
SoundMap::iterator snditer = mActiveSounds.begin();
|
SoundMap::iterator snditer = mActiveSounds.begin();
|
||||||
|
|
|
@ -99,7 +99,7 @@ namespace MWSound
|
||||||
///< Stop the given object from playing the given sound, If no soundId is given,
|
///< Stop the given object from playing the given sound, If no soundId is given,
|
||||||
/// all sounds for this reference will stop.
|
/// all sounds for this reference will stop.
|
||||||
|
|
||||||
void stopSound(MWWorld::Ptr::CellStore *cell);
|
void stopSound(const MWWorld::Ptr::CellStore *cell);
|
||||||
///< Stop all sounds for the given cell.
|
///< Stop all sounds for the given cell.
|
||||||
|
|
||||||
void stopSound(const std::string& soundId);
|
void stopSound(const std::string& soundId);
|
||||||
|
|
Loading…
Reference in a new issue