Cleanup (removing unused variables & other redundancies, rethrowing exceptions instead of wrapping them in a new exception instance)
This commit is contained in:
@@ -48,7 +48,7 @@ namespace Barotrauma.Sounds
|
||||
catch (DllNotFoundException e)
|
||||
{
|
||||
Program.CrashMessageBox("OpenAL32.dll not found");
|
||||
throw e;
|
||||
throw;
|
||||
}
|
||||
|
||||
for (int i = 0 ; i < DefaultSourceCount; i++)
|
||||
|
||||
Reference in New Issue
Block a user