mirror of
				https://github.com/OpenMW/openmw.git
				synced 2025-10-31 20:26:43 +00:00 
			
		
		
		
	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