forked from teamnwah/openmw-tes3coop
Remove some unneeded casts
This commit is contained in:
parent
a0c5ccf974
commit
3d5384e2bb
1 changed files with 2 additions and 2 deletions
|
@ -108,7 +108,7 @@ namespace MWSound
|
|||
max = std::max(min, max);
|
||||
}
|
||||
|
||||
return std::string("Sound/")+snd->sound;
|
||||
return "Sound/"+snd->sound;
|
||||
}
|
||||
|
||||
|
||||
|
@ -182,7 +182,7 @@ namespace MWSound
|
|||
{
|
||||
// The range values are not tested
|
||||
float basevol = 1.0f; /* TODO: volume settings */
|
||||
std::string filePath = std::string("Sound/")+filename;
|
||||
std::string filePath = "Sound/"+filename;
|
||||
const ESM::Position &pos = ptr.getCellRef().pos;
|
||||
|
||||
SoundPtr sound = mOutput->playSound3D(filePath, pos.pos, basevol, 1.0f,
|
||||
|
|
Loading…
Reference in a new issue